server: port: 8070 spring: profiles: # 环境配置 active: dev application: name: qiuguo-iot-customer-http-api cloud: nacos: discovery: # 服务注册地址 server-addr: 192.168.8.101:8848 config: # 配置中心地址 server-addr: 192.168.8.101:8848 # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} r2dbc: #注意下面修改 easyorm相关也需要修改 #url: r2dbc:postgresql://localhost:5432/postgres #postgresql请使用此配置 url: r2dbc:mysql://172.24.218.235:3306/qiuguo_iot?ssl=false&serverZoneId=Asia/Shanghai # mysql请使用此配置 #url: r2dbc:h2:file:///./data/h2db/jetlinks 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