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_iot?ssl=false&serverZoneId=Asia/Shanghai username: root password: '!pHuRvGKIsbiqcX1' easyorm: auto-ddl: false #是否根据实体类型更新数据库字段(增加、属性) default-schema: qiuguo_iot # 默认使用的schema. mysql时则为数据库名 dialect: mysql # 方言: h2,mysql,postgresql logging: config: classpath:logback-${spring.profiles.active}.xml level: org.hswebframework: debug org.hswebframework.expands: error com.qiuguo.iot.data: debug #可以开启sql的日志打印 hsweb: webflux: response-wrapper: enabled: true # 将响应结果包装为{"status":200,"result":{}} excludes: #不包装的类 - org.springdoc device: key: ZGV2aWNlX2luZm9fdG9rZW5fbWQ1LTNfb2Zpa19xaXVndW8taW90LWJveCY2Mis= checkTimeout: false #是否检测请求超时 timeout: 120000 #超时时间 毫秒 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' connector: ak: 'xj5d8a9jjg8dsnd9pr7x' sk: 'fbcf5495b3b04d5e9f0195bf9ed9ded8' region: 'CN'