|
|
@@ -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) {
|
|
|
$shopId = $ghs->shopId ?? 0;
|
|
|
$mainId = $map[$shopId] ?? 0;
|