Explorar el Código

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

shizhongqi hace 4 años
padre
commit
98d62b44e4
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  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['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);
     }