diff --git a/Server/application/cunkebao/controller/TokensController.php b/Server/application/cunkebao/controller/TokensController.php index e59fab74..1db47b44 100644 --- a/Server/application/cunkebao/controller/TokensController.php +++ b/Server/application/cunkebao/controller/TokensController.php @@ -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('付款类型不正确');