| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- #debug: true
- #server:
- # port: 9090 #端口配置,每个配之前需要输入 空格
- spring:
- profiles:
- active: pro #生产环境%测试环境
- #解决 springboot 升版后文件上传问题
- mvc:
- hiddenmethod:
- filter:
- enabled: true
- servlet:
- multipart:
- max-request-size: -1
- max-file-size: -1
- # redis:
- # database: 0
- # host: 47.99.170.144
- #port: 6379
- #password: lhzx_lhjg!@#123
- #timeout: 1000
- main:
- allow-bean-definition-overriding: true
- swagger:
- # 如果需要屏蔽 swagger 资源
- # production: true
- basic:
- # 开启 认证功能
- enable: true
- # 如果未配置用户名密码默认:admin/123321
- ## Basic认证用户名
- username: jinghang
- ## Basic认证密码
- password: jinghang
- # datasource:
- # type: com.alibaba.druid.pool.DruidDataSource #数据源插件
- # druid:
- # driver-class-name: com.mysql.cj.jdbc.Driver #zhylplatDB是数据库
- # url: jdbc:mysql://47.99.170.144:3306/zhylplatDB?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Hongkong
- # username: root
- # password: passw0rd
- # jackson:
- # date-format: yyyy-MM-dd HH:mm:ss #注意时区!!!!
- # time-zone: GMT+8
- # locale: zh_CN
- #mybatis-plus:
- # configuration:
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #可以在控制台打印出SQL语句
- #阿里云短信服务
- sms:
- #产品名称:云通信短信API产品,开发者无需替换
- product: Dysmsapi
- #产品域名,开发者无需替换
- domain: dysmsapi.aliyuncs.com
- #Access Key ID
- accessKeyId:
- #Access Key Secret
- accessKeySecret:
- #与区级平台对接接口 api 分配的签名信息
- api:
- appKey:
- appSecret:
- #与经济总屏平台对接接口 api 分配的签名信息
- bureau:
- api:
- appKey:
- appSecret:
- #token 过期时间 和 刷新时间
- token:
- #过期时间 和 刷新时间(天为单位)
- overDate: 1
- refreshDate: 1
- #过期时间 和 刷新时间(小时为单位)
- overTime: 1
- refreshTime: 1
- #微信小程序-智慧园林
- wx:
- #微信小程序的 appId
- appId: wx97a5a9e16d2ee2fa
- #微信小程序的 appSecret
- appSecret: b63bd0cd6d9c026aa2153dd088b6af23
- #事项办理进度通知模板 ID
- templateId:
- mybatis-plus:
- configuration:
- map-underscore-to-camel-case: true
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- #数据库相关配置
- db-config:
- #逻辑删除配置
- logic-delete-value: 1 # 默认1是已删除的
- logic-not-delete-value: 0 # 默认0未删除
- mapper-locations: classpath:/mapper/null/*.xml,classpath:/mapper*/*.xml,classpath:/mapper*/**/*.xml,classpath:/moduleZhjc*/**/*.xml
- type-aliases-package: com.yt.zhylplat.entity,com.yt.zhylplat.*.entity
- #mybatis的配置,映射xml和
- #mybatis-plus:
- # mapper-locations:
- # classpath: /mapper/null/*.xml
- # type-aliases-package: com.yt.zhylplat.entity
- file:
- url:
- pre:
|