mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-12 21:53:44 +08:00
修复订单API提交BUG
This commit is contained in:
@@ -61,7 +61,7 @@ class PayController
|
||||
} else {
|
||||
return '请使用POST方式提交';
|
||||
}
|
||||
$key = User::where('pid', $req_data['pid'])->where('state', 1)->value('key');
|
||||
$key = User::where('pid', $req_data['pid'])->where('state', 1)->value('secret_key');
|
||||
if (!$key) {
|
||||
return '用户禁用或不存在';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user