Explorar el Código

Nft搜索条件

afa hace 6 meses
padre
commit
5fecd8235f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      application/api/logic/UserLogic.php

+ 2 - 1
application/api/logic/UserLogic.php

@@ -118,7 +118,8 @@ class UserLogic
             $where = [];
             switch ($typeId) {
                   case 0:
-                  $where['a.status'] = ['in' , [$productOrder::Paid, $productOrder::Transferred, $productOrder::Freeze]]; //抢购/转让中/存储
+                  //持有= 抢购+转让中+存储
+                  $where['a.status'] = ['in' , [$productOrder::Paid, $productOrder::Transferred, $productOrder::Freeze]];
                   break;
                   case 1:
                   $where = ['a.type_id' => $productOrder::Transfer, 'a.status' => $productOrder::Transferred];