修改配置文件

yjc
hd 2 weeks ago
parent 63c2e35108
commit 903575472e

@ -11,15 +11,15 @@ spring:
matching-strategy: ant_path_matcher
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url: jdbc:mysql://ngsk.tech:3307/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: 123456
password: ngsk0809
schema: classpath:data.sql
initialization-mode: always
redis:
host: localhost
port: 6379
password:
host: ngsk.tech
port: 6389
password: ngsk0809
database: 0
lettuce:
pool:

@ -11,15 +11,15 @@ spring:
matching-strategy: ant_path_matcher
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url: jdbc:mysql://ngsk.tech:3307/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: 123456
password: ngsk0809
schema: classpath:data.sql
initialization-mode: always
redis:
host: localhost
port: 6379
password:
host: ngsk.tech
port: 6389
password: ngsk0809
database: 0
lettuce:
pool:
@ -44,3 +44,11 @@ knife4j:
enable: true
setting:
language: zh_cn
# 阿里云短信配置
aliyun:
sms:
access-key-id: LTAI5t7peh76HpuVGhpXabPb
access-key-secret: Y119TqVZeaU7LcYRgbIHLpmscteQnw
sign-name: 培训报名成功模板
template-code: SMS_506365455

@ -11,15 +11,15 @@ spring:
matching-strategy: ant_path_matcher
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
url: jdbc:mysql://ngsk.tech:3307/registration?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: 123456
password: ngsk0809
schema: classpath:data.sql
initialization-mode: always
redis:
host: localhost
port: 6379
password:
host: ngsk.tech
port: 6389
password: ngsk0809
database: 0
lettuce:
pool:
@ -44,3 +44,11 @@ knife4j:
enable: true
setting:
language: zh_cn
# 阿里云短信配置
aliyun:
sms:
access-key-id: LTAI5t7peh76HpuVGhpXabPb
access-key-secret: Y119TqVZeaU7LcYRgbIHLpmscteQnw
sign-name: 培训报名成功模板
template-code: SMS_506365455

@ -1,3 +1,3 @@
spring:
profiles:
active: dev
active: pro
Loading…
Cancel
Save