Browse Source

add 小程序支付回调

leo.xie 4 years ago
parent
commit
c41a2d16e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/expand/controller/Xcx.php

+ 1 - 1
application/expand/controller/Xcx.php

@@ -221,7 +221,7 @@ class Xcx extends BaseAuth
             $arr = ['total_fee', 'out_trade_no'];
             foreach ($arr as $key=>$value) {
                 if (!isset($params[$value])) {
-                    HelperService::returnJson(['code' => 400, 'msg' => "参数错误($key)",'data'=>['baseParams'=>$param]]);
+                    HelperService::returnJson(['code' => 400, 'msg' => "参数错误({$key})",'data'=>['baseParams'=>$param]]);
                 }
             }