微信连接,本地数据上传
All checks were successful
构建并部署 Spring Boot 应用 / build-and-deploy (push) Successful in 15m11s
All checks were successful
构建并部署 Spring Boot 应用 / build-and-deploy (push) Successful in 15m11s
This commit is contained in:
42
src/main/resources/application-local.properties
Normal file
42
src/main/resources/application-local.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
spring.application.name=Light-Local
|
||||
server.port=8080
|
||||
|
||||
# 使ç¨è¿ç¨æ°æ®åºï¼ä¸ç产ç¯å¢ç¸åï¼
|
||||
spring.datasource.url=jdbc:mysql://115.190.121.151:3306/light_delivery?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=double
|
||||
spring.datasource.password=Hu@ng1998!
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
||||
# æ°æ®åºè¿æ¥æ± é
ç½®
|
||||
spring.datasource.hikari.maximum-pool-size=5
|
||||
spring.datasource.hikari.minimum-idle=1
|
||||
spring.datasource.hikari.connection-timeout=20000
|
||||
spring.datasource.hikari.idle-timeout=300000
|
||||
spring.datasource.hikari.max-lifetime=600000
|
||||
|
||||
# JPAé
ç½®
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
|
||||
|
||||
# ç¦ç¨SSLä»¥ä¾¿äºæ¬å°æµè¯
|
||||
server.ssl.enabled=false
|
||||
# ç§»é¤ææSSLç¸å
³é
ç½®ä»¥é²æ¢Spring Boot 3.xå°è¯å è½½å®ä»¬
|
||||
|
||||
# 微信å°ç¨åºé
ç½®ï¼æ¬å°ç¯å¢ä¸ç产ç¯å¢ä½¿ç¨ç¸åé
ç½®ï¼
|
||||
wx.appId=wx1b790fd953ac27bf
|
||||
wx.secret=b38c40c89cc4954472fb45d1e7cc27a4
|
||||
wx.token=huang1998
|
||||
wx.aesKey=lwararkj1BgurX8Qown6yjGNsqd8dEIEddDnYN3iLgc
|
||||
|
||||
wx.api.access-token-url=https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential
|
||||
wx.api.code2session-url=https://api.weixin.qq.com/sns/jscode2session
|
||||
|
||||
jwt.secret=CRMO1KEF/YP07zoV8+X1F3/DfkvksgPUs6tdLRR8urWCEBPMEO+5nt50xRkRl8JBJursSnvv++qylsaz5zryuA==
|
||||
jwt.expiration=86400
|
||||
|
||||
logging.level.com.light.delivery=DEBUG
|
||||
|
||||
management.endpoints.web.exposure.include=health,info
|
||||
management.endpoint.health.show-details=always
|
Reference in New Issue
Block a user