mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-12 11:09:23 +00:00
调整查询错误
This commit is contained in:
parent
de84cc4d60
commit
1067d7e776
@ -29,7 +29,7 @@ class NoticeRepositories
|
|||||||
*/
|
*/
|
||||||
public static function noticeOrderPaySuccess($order, $formId)
|
public static function noticeOrderPaySuccess($order, $formId)
|
||||||
{
|
{
|
||||||
$wechatUser = WechatUser::where('uid', $order['uid'])->field('openid', 'routine_openid')->find();
|
$wechatUser = WechatUser::where('uid', $order['uid'])->field(['openid', 'routine_openid'])->find();
|
||||||
if ($wechatUser) {
|
if ($wechatUser) {
|
||||||
$openid = $wechatUser['openid'];
|
$openid = $wechatUser['openid'];
|
||||||
$routineOpenid = $wechatUser['routine_openid'];
|
$routineOpenid = $wechatUser['routine_openid'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user