afa 6 сар өмнө
parent
commit
5fecd8235f

+ 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];