瀏覽代碼

开店问题

shish 5 年之前
父節點
當前提交
ede31aef4c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      biz-ghs/admin/classes/AdminClass.php
  2. 1 0
      biz-hd/admin/classes/AdminClass.php

+ 1 - 0
biz-ghs/admin/classes/AdminClass.php

@@ -316,6 +316,7 @@ class AdminClass extends BaseClass
         $getAdminInfo['super'] = $getAdminInfo['super'] ?? \biz\admin\classes\AdminClass::SUPER_NO;
         $getAdminInfo['delStatus'] = 0;
         $getAdminInfo['style'] = Yii::$app->params['ptStyle'];
+        $getAdminInfo['openShop'] = 1;
 
         if (isset($getAdminInfo['headImgUrl']) && !empty($getAdminInfo['headImgUrl'])) {
             $imgUrl = $getAdminInfo['headImgUrl'];

+ 1 - 0
biz-hd/admin/classes/AdminClass.php

@@ -270,6 +270,7 @@ class AdminClass extends BaseClass
         $getAdminInfo['addTime'] = $time;
         $getAdminInfo['source'] = isset($getAdminInfo['source']) ? $getAdminInfo['source'] : 0;
         $getAdminInfo['hasSubscribe'] = 0;
+        $getAdminInfo['openShop'] = 1;
         if (isset($getAdminInfo['headImgUrl']) && !empty($getAdminInfo['headImgUrl'])) {
             $imgUrl = $getAdminInfo['headImgUrl'];
             $name = ImageService::generateAvatar(0, $imgUrl);