add sms code
This commit is contained in:
24
src/main/resources/application-debug.properties
Normal file
24
src/main/resources/application-debug.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
spring.application.name=VideoTablet
|
||||
server.port=8088
|
||||
|
||||
## mysql ??????
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.url=jdbc:mysql://139.199.77.221:3306/spring_boot?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3305/video_tablet_db?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=tt
|
||||
spring.datasource.password=fanhuitong
|
||||
|
||||
# redis????
|
||||
# 0????????????? Redis ???????
|
||||
spring.data.redis.database=0
|
||||
# 6379???????? Redis ??
|
||||
spring.data.redis.port=6379
|
||||
# ???????????
|
||||
spring.data.redis.host=127.0.0.1
|
||||
spring.data.redis.password=fanhuitong
|
||||
# ???
|
||||
spring.data.redis.lettuce.pool.min-idle=5
|
||||
spring.data.redis.lettuce.pool.max-idle=10
|
||||
spring.data.redis.lettuce.pool.max-active=8
|
||||
spring.data.redis.lettuce.pool.max-wait=1ms
|
||||
spring.data.redis.lettuce.shutdown-timeout=100ms
|
||||
2
src/main/resources/application-prod.properties
Normal file
2
src/main/resources/application-prod.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
spring.application.name=VideoTablet
|
||||
|
||||
2
src/main/resources/application-test.properties
Normal file
2
src/main/resources/application-test.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
spring.application.name=VideoTablet
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
spring.application.name=VideoTablet
|
||||
# application.properties
|
||||
# ????????
|
||||
spring.profiles.active=debug
|
||||
|
||||
Reference in New Issue
Block a user