소스 검색

供应商

shish 4 년 전
부모
커밋
1d5d6aea7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      console/controllers/InitController.php

+ 1 - 1
console/controllers/InitController.php

@@ -313,7 +313,7 @@ class InitController extends Controller
             }
             }
         }
         }
 
 
-        $ghsList = GhsClass::getByCondition(['id>' => 0], null, '*', null, true);
+        $ghsList = GhsClass::getAllByCondition(['id>' => 0], null, '*', null, true);
         foreach ($ghsList as $ghs) {
         foreach ($ghsList as $ghs) {
             $shopId = $ghs->shopId ?? 0;
             $shopId = $ghs->shopId ?? 0;
             $mainId = $map[$shopId] ?? 0;
             $mainId = $map[$shopId] ?? 0;