Browse Source

配置文件改为properties

pzc 4 years ago
parent
commit
7984e48d81
1 changed files with 35 additions and 0 deletions
  1. 35 0
      mpwechatApp/src/main/resources/application.properties

+ 35 - 0
mpwechatApp/src/main/resources/application.properties

@@ -0,0 +1,35 @@
+server.port=8081
+logging.level.org.springframework.web=INFO
+logging.level.com.liangjian11.wx.mp=DEBUG
+logging.level.com.github.binarywang.demo.wx.mp=DEBUG
+logging.level.me.chanjar.weixin=DEBUG
+wx.mp.configs[0].appId=wx4f8c9fef3896ad71
+wx.mp.configs[0].secret=ea186d9f2941b5cd88004e339a4ec479
+wx.mp.configs[0].token=lj123456com
+wx.mp.configs[0].aesKey=3RtoZxD0Us4ZcjeWw7OCi5xjFLOTGPYAODiVvDkDUpK
+wx.mp.configs[1].appId=2222
+wx.mp.configs[1].secret=1111
+wx.mp.configs[1].token=111
+wx.mp.configs[1].aesKey=111
+wechat.open.componentAppId=wxdf1147a020c2d975
+wechat.open.componentSecret=5dd95e893c35b3fc9c1fdf3cb8dc5004
+wechat.open.componentToken=90fa4bd02583d23c75d2fb76aaacd18e
+wechat.open.componentAesKey=990fa4bd02583d23c75d2fb76aaacd183d23c75d2fb
+wechat.redis.host=119.130.113.245
+
+    #配置面向服务调用
+spring.cloud.config.discovery.enabled=true
+spring.cloud.config.discovery.service-id=CONFIG
+spring.cloud.profile=pgprod
+spring.cloud.label=master
+spring.servlet.multipart.max-file-size=10MB
+spring.servlet.multipart.max-request-size=20MB
+spring.profiles.active=pgdev
+management.endpoints.web.exposure.include=false
+ribbon.ReadTimeOut=5000
+ribbon.ConnectionTimeOut=5000
+mybatis-plus.mapper-locations=classpath*:mapper/*Mapper.xml
+mybatis-plus.type-aliases-package=com.liangjian11.wx.mp.modle
+mybatis-plus.global-config.refresh-mapper=true
+    # 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射
+mybatis-plus.configuration.map-underscore-to-camel-case=false