shish %!s(int64=2) %!d(string=hai) anos
pai
achega
8f1cbd7b95
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      app-ghs/controllers/JhItemController.php

+ 4 - 5
app-ghs/controllers/JhItemController.php

@@ -9,17 +9,16 @@ use Yii;
 class JhItemController extends PublicController
 class JhItemController extends PublicController
 {
 {
 
 
-    //根据分类id取集合,带分页 ssh 20231228
+    //根据集合id取花材,带分页 ssh 20231228
     public function actionList()
     public function actionList()
     {
     {
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
-        $classId = $get['classId'] ?? 0;
+        $jhId = $get['jhId'] ?? 0;
         $mainId = $this->mainId ?? 0;
         $mainId = $this->mainId ?? 0;
         $where = [];
         $where = [];
         $where['mainId'] = $mainId;
         $where['mainId'] = $mainId;
-        $where['delStatus'] = 0;
-        if (!empty($classId)) {
-            $where['classId'] = $classId;
+        if (!empty($jhId)) {
+            $where['jhId'] = $jhId;
         }
         }
         $respond = JhItemClass::getItemList($where);
         $respond = JhItemClass::getItemList($where);
         util::success($respond);
         util::success($respond);