lyh hace 2 años
padre
commit
bdf37fd0e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }