Ver Fonte

获取平台里的花材列表-- 查询条件 sjId 改用 shopId

shizhongqi há 4 anos atrás
pai
commit
98d62b44e4
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      app-ghs/controllers/PtItemController.php

+ 4 - 2
app-ghs/controllers/PtItemController.php

@@ -35,8 +35,10 @@ class PtItemController extends BaseController
         $where['copy'] = 0;
         $where['copy'] = 0;
         //没有删除的花材
         //没有删除的花材
         $where['delStatus'] = 0;
         $where['delStatus'] = 0;
-        $sjId = $this->sjId;
-        $list = PtItemClass::getItemList($where, true, $sjId);
+        //$sjId = $this->sjId;
+        // sjId 改用 shopId
+        $shopId = $this->shopId;
+        $list = PtItemClass::getItemList($where, true, $shopId);
         util::success($list);
         util::success($list);
     }
     }