Browse Source

更新生产环境配置

yangliu 2 months ago
parent
commit
75c34af780
1 changed files with 2 additions and 9 deletions
  1. 2 9
      portal-service-server/src/main/resources/bootstrap-prod.yml

+ 2 - 9
portal-service-server/src/main/resources/bootstrap-prod.yml

@@ -4,11 +4,11 @@ spring:
       discovery:
         server-addr: 47.121.135.46:8848
         group: DEFAULT_GROUP
-        namespace: dev
+        namespace: prod
       config:
         server-addr: 47.121.135.46:8848
         group: DEFAULT_GROUP
-        namespace: dev
+        namespace: prod
         file-extension: yaml
   redis:
     host: 47.121.135.46
@@ -69,19 +69,12 @@ lnxx:
       signName: 合肥雷能信息
 
 sa-token:
-  # token 名称(同时也是 cookie 名称)
   token-name: token
-  # token 有效期(单位:秒) 默认30天,-1 代表永久有效
   timeout: 36000
-  # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
   active-timeout: 1800
-  # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
   is-concurrent: false
-  # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
   is-share: false
-  # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
   token-style: uuid
-  # 是否输出操作日志
   is-log: true
   dynamic-active-timeout: true
   wx: