|
@@ -711,7 +711,7 @@ class AcceptorService extends BaseService
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
$acceptor = $this->model->with(['member'])->where(['user_id' => $userId, 'mark' => 1])
|
|
$acceptor = $this->model->with(['member'])->where(['user_id' => $userId, 'mark' => 1])
|
|
|
- ->select(['id', 'user_id', 'realname', 'mobile', 'usdt', 'quota', 'status'])
|
|
|
|
|
|
|
+ ->select(['id', 'user_id', 'realname', 'mobile', 'usdt', 'quota', 'status','trade_status'])
|
|
|
->first();
|
|
->first();
|
|
|
|
|
|
|
|
// 获取承兑商信息
|
|
// 获取承兑商信息
|
|
@@ -723,10 +723,7 @@ class AcceptorService extends BaseService
|
|
|
$acceptorUsdt = isset($acceptor['usdt'])? $acceptor['usdt'] : 0;
|
|
$acceptorUsdt = isset($acceptor['usdt'])? $acceptor['usdt'] : 0;
|
|
|
$acceptorId = isset($acceptor['id'])? $acceptor['id'] : 0;
|
|
$acceptorId = isset($acceptor['id'])? $acceptor['id'] : 0;
|
|
|
$acceptorTradeStatus = isset($acceptor['trade_status'])? $acceptor['trade_status'] : 0;
|
|
$acceptorTradeStatus = isset($acceptor['trade_status'])? $acceptor['trade_status'] : 0;
|
|
|
- return [
|
|
|
|
|
- 'id'=> $userInfo,
|
|
|
|
|
- 'money'=> $acceptor
|
|
|
|
|
- ];
|
|
|
|
|
|
|
+
|
|
|
if(empty($userInfo) || $status != 1){
|
|
if(empty($userInfo) || $status != 1){
|
|
|
$this->error = 2024;
|
|
$this->error = 2024;
|
|
|
return false;
|
|
return false;
|