Browse Source

交易记录

lyh 2 years ago
parent
commit
bdf37fd0e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/Api/TradeService.php

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

@@ -328,7 +328,7 @@ class TradeService extends BaseService
 
         // 交易订单记录
         $info = $this->getInfo($params['id']);
-        if (in_array($info['status'],[1,2])) {
+        if (!in_array($info['status'],[1,2])) {
             $this->error = 1003;
             return false;
         }