dever 6 anni fa
parent
commit
bee4e85216
3 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 3 0
      config/env/localhost/default.php
  2. 2 0
      service/index.php
  3. 1 0
      vip/index.php

+ 3 - 0
config/env/localhost/default.php

@@ -74,6 +74,9 @@ $config['cache'] = array
         'oauth' => 0,
         'cron' => 0,
         'combine' => 0,
+        'service_list_code' => 0,
+        'service_buy.pay' => 0,
+        'vip_' => 0,
     ),
 
     # 哪些路由中的参数不参与生成缓存的key

+ 2 - 0
service/index.php

@@ -1,5 +1,7 @@
 <?php
 
+# 启动session,用以记录用户信息
+define('DEVER_SESSION', 1);
 define('DEVER_APP_NAME', 'service');
 define('DEVER_APP_LANG', '公众号支付');
 define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);

+ 1 - 0
vip/index.php

@@ -1,5 +1,6 @@
 <?php
 
+define('DEVER_SESSION', 1);
 define('DEVER_APP_NAME', 'vip');
 define('DEVER_APP_LANG', '会员管理');
 define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);