mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-09-23 04:06:39 +08:00
修复订单API提交BUG
This commit is contained in:
parent
225defb0f3
commit
9309dfb881
@ -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 '用户禁用或不存在';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user