xiaogang hace 4 años
padre
commit
9e7a0a7b79
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Controllers/Api/UserController.php

+ 1 - 0
app/Http/Controllers/Api/UserController.php

xqd
@@ -288,6 +288,7 @@ class UserController extends Controller
             $param['user_id'] = $user->id;
             $param['payment'] = $request->payment; //支付方式 1微信  2支付宝
             $res = $this->userService->buy_vip($param);
+            throw new Exception(json_encode($res));
         }catch (\Exception $exception){
             return $this->response->errorForbidden($exception->getMessage());
         }