|
|
@@ -159,10 +159,12 @@ class StaffClass extends BaseClass
|
|
|
if ($shop->ptStyle == 2) {
|
|
|
$ghsMainId = $shop->mainId;
|
|
|
$admin->currentGhsShopId = $shop->id;
|
|
|
+ $admin->save();
|
|
|
}
|
|
|
if ($shop->ptStyle == 1) {
|
|
|
$hdMainId = $shop->mainId;
|
|
|
$admin->currentShopId = $shop->id;
|
|
|
+ $admin->save();
|
|
|
}
|
|
|
}
|
|
|
if ($ghsMainId != $hdMainId) {
|