1
This commit is contained in:
@@ -42,7 +42,7 @@ class TokensController extends BaseController
|
||||
$price = $this->request->param('price', '');
|
||||
$userId = $this->getUserInfo('id');
|
||||
$companyId = $this->getUserInfo('companyId');
|
||||
$payType = $this->request->param('payType', '');
|
||||
$payType = $this->request->param('payType', 'qrCode');
|
||||
|
||||
if (!in_array($payType, ['wechat', 'alipay', 'qrCode'])) {
|
||||
return ResponseHelper::error('付款类型不正确');
|
||||
|
||||
Reference in New Issue
Block a user