@@ -32,7 +32,7 @@ class AcceptorModel extends BaseModel
->where(['mark'=>1])
->select(['id','nickname','parent_id','balance','trc_url','usdt','avatar','status']);
}
-
+
/**
* 交易记录
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
@@ -1024,7 +1024,7 @@ class AcceptorService extends BaseService
'sell_exception_img' => '',
'exception_img' => '',
'exception_remark' => '',
- 'remark' => '',
+ 'remark' => '下单成功,待支付',
'status' => 1,
'mark' => 1,
];
@@ -1052,7 +1052,7 @@ class AcceptorService extends BaseService
'type' => 100,
'coin_type' => 2,
'user_type' => 1,
- 'money' => $params['quota'],
+ 'money' => round($params['quota'] / $xdPrice, 4),
'actual_money' => $params['quota'],
'balance' => $userInfo['balance'],
'create_time' => time(),