MrShi
19 小时以前 3003ab05f20cacea2d1e7d9bd027d26b1813864e
server/system_gateway/src/main/resources/application.yml
@@ -1,6 +1,6 @@
# 项目信息配置
project:
  name: 安泰物流访客系统
  name: 公务车钥匙智能柜管理系统
  version: 1.0.0
  env: development
#  env: production
@@ -31,7 +31,7 @@
  mapper-locations: classpath*:/mappers/**/*.xml
  configuration:
    map-underscore-to-camel-case: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    log-impl: com.doumee.config.mybatis.DmStdOutImpl
# 缓存内容设置
cache:
@@ -58,20 +58,12 @@
  level:
    com.doumee.dao: debug
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password: 123456
  main:
    allow-circular-references: true
auth:
  jwt:
    enabled: true   #是否开启JWT登录认证功能
    secret: fjkfaf;afa  # JWT私钥,用于校验JWT令牌的合法性
    expiration: 300000 #JWT令牌的有效期,用于校验JWT令牌的合法性
    expiration: 1800000 #JWT令牌的有效期,用于校验JWT令牌的合法性
#    expiration: 300000 #JWT令牌的有效期,用于校验JWT令牌的合法性
    header: JWTHeaderName #HTTP请求的Header名称,该Header作为参数传递JWT令牌
    userParamName: username  #用户登录认证用户名参数名称
    pwdParamName: password  #用户登录认证密码参数名称