mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-10 17:42:50 +00:00
调整查询错误
This commit is contained in:
parent
de84cc4d60
commit
1067d7e776
@ -29,7 +29,7 @@ class NoticeRepositories
|
||||
*/
|
||||
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) {
|
||||
$openid = $wechatUser['openid'];
|
||||
$routineOpenid = $wechatUser['routine_openid'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user