server: port: 8081 logging: level: org.springframework.web: INFO com.liangjian11.wx.mp: DEBUG com.github.binarywang.demo.wx.mp: DEBUG me.chanjar.weixin: DEBUG wx: mp: configs: - appId: wx4f8c9fef3896ad71 #(一个公众号的appid) secret: ea186d9f2941b5cd88004e339a4ec479 #(公众号的appsecret) token: lj123456com #(接口配置里的Token值) aesKey: 3RtoZxD0Us4ZcjeWw7OCi5xjFLOTGPYAODiVvDkDUpK #(接口配置里的EncodingAESKey值) - appId: 2222 #(另一个公众号的appid,以下同上) secret: 1111 token: 111 aesKey: 111 wechat: open: componentAppId: "wxdf1147a020c2d975" componentSecret: "5dd95e893c35b3fc9c1fdf3cb8dc5004" componentToken: "90fa4bd02583d23c75d2fb76aaacd18e" componentAesKey: "990fa4bd02583d23c75d2fb76aaacd183d23c75d2fb" redis: host: "119.130.113.245" #spring cloud spring: #配置面向服务调用 cloud: config: discovery: enabled: true service-id: CONFIG profile: prod label: master servlet: multipart: max-file-size : 10MB max-request-size : 20MB profiles: active: dev management: endpoints: web: exposure: include: false #放到子文件 #eureka: # client: # service-url: # defaultZone: http://liangjian:360lj.comOauth2passwd@192.168.50.32:11002/eureka/ # # 使用ip地址注册到eureka server # instance: # ip-address: true # #instance-id: ${spring.cloud.client.ipAddress}:${server.port} # instance-id: 192.168.50.39:${server.port} ribbon: ##建立连接所有的时间 正常情况下 两端连接所有时间 ReadTimeOut: 5000 ##建立连接后从服务器读取到科用资源的时间 ConnectionTimeOut: 5000 mybatis-plus: mapper-locations: classpath*:mapper/*Mapper.xml type-aliases-package: com.liangjian11.wx.mp.modle global-config: refresh-mapper: true configuration: # 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射 map-underscore-to-camel-case: false