1 个管道
的构建
通过
耗费
1 秒
更新 UsersController.php
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -479,6 +479,7 @@ class UsersController extends HomeBaseController{ | @@ -479,6 +479,7 @@ class UsersController extends HomeBaseController{ | ||
479 | 'spbill_create_ip' => get_client_ip(0, true), //发起交易的IP地址 | 479 | 'spbill_create_ip' => get_client_ip(0, true), //发起交易的IP地址 |
480 | ]; | 480 | ]; |
481 | $re = $merchantPay->send($merchantPayData); | 481 | $re = $merchantPay->send($merchantPayData); |
482 | + $this->apiResponse(200,$re); | ||
482 | if ($re['return_code']=='SUCCESS' && $re['result_code']=='SUCCESS'){ | 483 | if ($re['return_code']=='SUCCESS' && $re['result_code']=='SUCCESS'){ |
483 | Db::startTrans(); | 484 | Db::startTrans(); |
484 | try{ | 485 | try{ |
@@ -495,7 +496,7 @@ class UsersController extends HomeBaseController{ | @@ -495,7 +496,7 @@ class UsersController extends HomeBaseController{ | ||
495 | Db::rollback(); | 496 | Db::rollback(); |
496 | $this->apiResponse(301,'提现失败'); | 497 | $this->apiResponse(301,'提现失败'); |
497 | } | 498 | } |
498 | - $this->apiResponse(200,'success',$re); | 499 | + $this->apiResponse(200,'success'); |
499 | } | 500 | } |
500 | }else{ | 501 | }else{ |
501 | $this->apiResponse(300,'余额不足提现失败'); | 502 | $this->apiResponse(300,'余额不足提现失败'); |
-
请 注册 或 登录 后发表评论