|
|
@@ -780,7 +780,7 @@ class TradeService extends BaseService
|
|
|
{
|
|
|
$id = isset($params['id'])? $params['id'] : 0;
|
|
|
$status = isset($params['status'])? $params['status'] : 0;
|
|
|
- $info = $this->where(['id'=> $id,'mark'=>1])->first();
|
|
|
+ $info = $this->model->where(['id'=> $id,'mark'=>1])->first();
|
|
|
if(!$id || empty($info)){
|
|
|
$this->error = 2042;
|
|
|
return false;
|