新增user服务和gateway服务
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
spring.application.name=timeline.user
|
||||
server.port=30003
|
||||
|
||||
# ?????
|
||||
spring.datasource.url=jdbc:mysql://8.137.148.196:33306/timeline?serverTimezone=UTC&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=your_password
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
||||
# MyBatis ??
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml
|
||||
mybatis.type-aliases-package=com.timeline.user.entity
|
||||
mybatis.configuration.mapUnderscoreToCamelCase=true
|
||||
|
||||
# JWT ??
|
||||
jwt.secret=timelineSecretKey
|
||||
jwt.expiration=86400
|
||||
|
||||
# ????
|
||||
logging.level.com.timeline.user=DEBUG
|
||||
Reference in New Issue
Block a user