shish 2 lat temu
rodzic
commit
6f81f8fa8d
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      app-ghs/controllers/ItemController.php

+ 3 - 0
app-ghs/controllers/ItemController.php

@@ -55,6 +55,9 @@ class ItemController extends BaseController
             $where['delStatus'] = 1;
             unset($where['status']);
             $where['removeStatus'] = 1;
+        } elseif ($requestType == 'cg') {
+            $where['delStatus'] = 1;
+            unset($where['status']);
         } else {
             util::fail('没有定义的请求方式');
         }