fix(支付): 修复微信支付预下单获取openid时未按最新授权倒序排序导致appid和openid不匹配的缺陷
这个提交包含在:
@@ -137,7 +137,7 @@ class Pay extends Base
|
||||
'user_id' => $order->user_id,
|
||||
'provider' => 'Wechat',
|
||||
'platform' => $platform
|
||||
])->find();
|
||||
])->order('id', 'desc')->find();
|
||||
|
||||
$order_data['openid'] = $oauth ? $oauth->openid : '';
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户