shish 5 жил өмнө
parent
commit
72071e173e

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

@@ -23,7 +23,7 @@ class UserController extends BaseController
     {
     {
         $list = UserClass::getRecentShop($this->user);
         $list = UserClass::getRecentShop($this->user);
         //显示国兰的信息 0不是 1是
         //显示国兰的信息 0不是 1是
-        $showGlInfo = dict::getDict('showGlInfo');
+        $showGlInfo = getenv('SHOW_GL_INFO', 1);
         util::success(['list' => $list, 'showGlInfo' => $showGlInfo]);
         util::success(['list' => $list, 'showGlInfo' => $showGlInfo]);
     }
     }
 
 

+ 0 - 6
common/components/dict.php

@@ -34,12 +34,6 @@ class dict
         //采购和销售单的有效期
         //采购和销售单的有效期
         'sale_purchase_order_valid' => 200,
         'sale_purchase_order_valid' => 200,
 
 
-        //需要显示国兰的信息 0不需要 1需要(需要提交审核小程序时请显示国兰信息)
-        'showGlInfo' => 0,
-
-        //显示零售和供应商的演示入口 0不需要 1需要
-        'showDemo' => 1,
-
         //零售演示的管理员id
         //零售演示的管理员id
         'hdDemoAdminId' => 427,
         'hdDemoAdminId' => 427,
         //供应商演示的管理员id
         //供应商演示的管理员id