Kaynağa Gözat

显示国兰信息

shish 5 yıl önce
ebeveyn
işleme
06c39a1e5a

+ 3 - 3
app-mall/controllers/UserController.php

@@ -24,9 +24,9 @@ class UserController extends BaseController
     public function actionRecentShop()
     {
         $list = UserClass::getRecentShop($this->user);
-        //0最近访问的门店 1国兰门店信息
-        $showMallIndex = dict::getDict('showMallIndex');
-        util::success(['list' => $list, 'showIndex' => $showMallIndex]);
+        //显示国兰的信息 0不是 1是
+        $showGlInfo = dict::getDict('showGlInfo');
+        util::success(['list' => $list, 'showGlInfo' => $showGlInfo]);
     }
 
     //获取登陆客户的资产 ssh 2019.11.22

+ 2 - 2
common/components/dict.php

@@ -9,8 +9,8 @@ class dict
 
     public static $data = [
 
-        //0 国兰 1最近访问的门店
-        'showMallIndex' => 1,
+        //显示国兰的信息 0不是 1是
+        'showGlInfo' => 0,
         //显示零售和供货商的演示入口
         'showDemo' => 1,
         //零售演示的管理员id