59 lines
1.9 KiB
YAML
59 lines
1.9 KiB
YAML
server:
|
|
port: 9701
|
|
spring:
|
|
profiles:
|
|
# 环境配置
|
|
active: dev
|
|
application:
|
|
name: qiuguo-iot-box-user-api
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
# 服务注册地址
|
|
server-addr: 172.24.218.235:8848/
|
|
config:
|
|
# 配置中心地址
|
|
server-addr: 172.24.218.235:8848/
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
# 共享配置
|
|
shared-configs:
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
redis:
|
|
# cluster:
|
|
# nodes:
|
|
# - 127.0.0.1:7001
|
|
# - 127.0.0.1:7002
|
|
host: 192.168.8.101
|
|
port: 6379
|
|
password: 123456
|
|
timeout: 5000
|
|
r2dbc:
|
|
url: r2dbc:mysql://172.24.218.235:3306/qiuguo-reseller?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
password: '!pHuRvGKIsbiqcX1'
|
|
easyorm:
|
|
auto-ddl: true
|
|
default-schema: qiuguo_iot # 默认使用的schema. mysql时则为数据库名
|
|
dialect: mysql # 方言: h2,mysql,postgresql
|
|
logging:
|
|
level:
|
|
org.hswebframework: debug
|
|
org.hswebframework.expands: error
|
|
hsweb:
|
|
webflux:
|
|
response-wrapper:
|
|
enabled: true # 将响应结果包装为{"status":200,"result":{}}
|
|
excludes: #不包装的类
|
|
- org.springdoc
|
|
userUrl:
|
|
baseUrl: 'https://exper.qiuguojihua.com'
|
|
pwdUrl: '/data/api.login/in'
|
|
smsUrl: '/data/api.login/phone'
|
|
sendSmsUrl: '/data/api.login/sendsms'
|
|
registerUrl: '/data/api.login/register'
|
|
changeUrl: '/data/api.login/change'
|
|
userCancelUrl: '/data/api.auth.center/userCancel'
|
|
userInfoUrl: 'https://qiuguo-app.pre.qiuguojihua.com/pre-api/user/user/box/userInfo'
|
|
firstPasswordUrl: 'https://qiuguo-app.pre.qiuguojihua.com/pre-api/user/user/box/first/password'
|
|
editUserInfoUrl: 'https://qiuguo-app.pre.qiuguojihua.com/pre-api/user/user/box/edit/userInfo' |