소스 검색

Merge branch 'shizhongqi-createShop' into dev

shish 1 년 전
부모
커밋
ab6bae822b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) {