...
|
...
|
@@ -479,6 +479,7 @@ class UsersController extends HomeBaseController{ |
|
|
'spbill_create_ip' => get_client_ip(0, true), //发起交易的IP地址
|
|
|
];
|
|
|
$re = $merchantPay->send($merchantPayData);
|
|
|
$this->apiResponse(200,$re);
|
|
|
if ($re['return_code']=='SUCCESS' && $re['result_code']=='SUCCESS'){
|
|
|
Db::startTrans();
|
|
|
try{
|
...
|
...
|
@@ -495,7 +496,7 @@ class UsersController extends HomeBaseController{ |
|
|
Db::rollback();
|
|
|
$this->apiResponse(301,'提现失败');
|
|
|
}
|
|
|
$this->apiResponse(200,'success',$re);
|
|
|
$this->apiResponse(200,'success');
|
|
|
}
|
|
|
}else{
|
|
|
$this->apiResponse(300,'余额不足提现失败');
|
...
|
...
|
|