APPLE 3 роки тому
батько
коміт
1a9be00286
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/Services/Common/TradeService.php

+ 1 - 1
app/Services/Common/TradeService.php

@@ -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;