jiangping
2025-05-07 c3aaf28f7316cce12eec007a9f85a96cbcddeec2
server/visits/dmvisit_admin/src/main/resources/application.yml
@@ -28,7 +28,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:
@@ -54,14 +54,9 @@
# dao层的日志设置为debug,方便查看sql
logging:
  level:
    com.doumee.dao: debug
    com.doumee.dao: info
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password: 111111
# WEB服务器配置
server:
@@ -78,7 +73,8 @@
  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  #用户登录认证密码参数名称