shish %!s(int64=5) %!d(string=hai) anos
pai
achega
72071e173e
Modificáronse 2 ficheiros con 1 adicións e 7 borrados
  1. 1 1
      app-mall/controllers/UserController.php
  2. 0 6
      common/components/dict.php

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

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

+ 0 - 6
common/components/dict.php

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