server:
port: 7082
spring:
redis:
open: true
security:
oauth2:
resourceserver:
jwt:
jwk-set-uri: http://localhost:7082/oauth2/jwks
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
auto-commit: true
connection-timeout: 30000
idle-timeout: 180000
max-lifetime: 1800000
minimum-idle: 5
maximum-pool-size: 20
pool-name: UserCenterHikariCP
username: root
password: soterea2024
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:mysql://10.101.251.30:3307/test_user_center?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull
mybatis-plus:
global-config:
db-config:
table-prefix: hax_
feign:
sentinel:
enabled: true
logging:
level:
com.soterea.hax.user.center.mapper: debug
springdoc:
api-docs:
#是否开启文档功能,默认为true,可不配置
enabled: true
redis:
open: true
password: hax2024
timeout: 6000
mode: 1
host: 10.101.251.198
port: 6379
database: 15
pool:
min-idle: 5
max-idle: 10
max-active: 1000
max-wait: -1
login:
user_token:
# 登录用户token过期时间(秒)
expire_time: 2592000
sms:
template: aliyun
aliyun:
enable: true
signName: 慧安行
accessKeyId: LTAI5tMRiyKPxYyhbehRiVWv
accessKeySecret: W3xO4RzaVXVd34ureh1hOfUJaMpZdL
# aliyun 地址
endpoint: cn-hangzhou
# 模板code
templateCode: SMS_465401431
other:
enable: false
qixin:
enable: true
host: https://api.qixin.com
app_key: 929ab64c-2aae-4cdc-a8ef-e768210087a8
secret_key: bf4be589-10c7-4a38-9538-eed2d4eb10c9
adv_search_api: /APIService/v2/search/advSearch
auth:
# token有效时长 毫秒(默认一天)
tokenValidDuration: 86400000
# jwt 秘钥(自用用户登录使用,第三方用户使用的是非对称加密程序启动会生成)
secret: mdm@2024
# jwt验证忽略的接口路径
ignorePaths:
- /auth/login
- /auth/logout
rocketmq:
name-server: 10.101.251.31:9876
producer:
group: user-center-producer