shish 1 year ago
parent
commit
a2b5eee036
1 changed files with 2 additions and 0 deletions
  1. 2 0
      biz-hd/staff/classes/StaffClass.php

+ 2 - 0
biz-hd/staff/classes/StaffClass.php

@@ -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) {