修改收银订单采购款支付校验
This commit is contained in:
parent
66a6915e4f
commit
ef95b1989f
@ -178,7 +178,7 @@ class StoreOrderController extends BaseAdminController
|
||||
if ($pay_type == PayEnum::PURCHASE_FUNDS) {
|
||||
$remark = $uid . '_smsPay';
|
||||
$code = Cache::get($remark);
|
||||
if (!$code || !isset($params['sms_code']) || $code != $params['sms_code']) {
|
||||
if (getenv('APP_DEBUG') != 'true' && (empty($code) || !isset($params['sms_code']) || $code != $params['sms_code'])) {
|
||||
throw new BusinessException('验证码错误');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user