xiaogang 4 年之前
父節點
當前提交
49cdad1f75
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Services/UserService.php

+ 2 - 1
app/Services/UserService.php

xqd xqd
@@ -52,7 +52,7 @@ class UserService
      * 购买vip
      */
     public function buy_vip($param){
-        throw new Exception("选择的会员id=".$param['id']);
+
         if(empty($param['id'])){
             throw new Exception("参数错误");
         }
@@ -77,6 +77,7 @@ class UserService
             'total_fee' => $ins['price'],
             'payment' => $ins['payment'],
         ];
+        throw new Exception(json_encode($pay_param));
         return PayService::pay($pay_param);
     }