fix(backend): Restore service flow and admin management integration
This commit is contained in:
@@ -18,13 +18,13 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://${MYSQL_HOST:mysql}:${MYSQL_PORT:3306}/video_auth?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: root
|
||||
password: ${MYSQL_ROOT_PASSWORD}
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST:redis}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: redis_EsJ8FX
|
||||
password: ${REDIS_PASSWORD}
|
||||
database: 0
|
||||
timeout: 10000
|
||||
lettuce:
|
||||
@@ -40,7 +40,6 @@ mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
cache-enabled: false
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
@@ -48,8 +47,12 @@ mybatis-plus:
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
|
||||
service:
|
||||
auth:
|
||||
token: ${SERVICE_AUTH_TOKEN}
|
||||
|
||||
jwt:
|
||||
secret: your-secret-key-here-should-be-very-long-and-secure
|
||||
expiration: 86400000 # 24小时
|
||||
secret: ${USER_JWT_SECRET}
|
||||
expiration: ${JWT_EXPIRATION}
|
||||
header: Authorization
|
||||
tokenPrefix: Bearer
|
||||
tokenPrefix: Bearer
|
||||
|
||||
Reference in New Issue
Block a user