binarywang / weixin-java-miniapp-demo

基于Spring Boot 和 WxJava 实现的微信小程序Java后端Demo
1.32k stars 669 forks source link

WxMaProperties获取不到配置信息 #46

Closed bantu4me closed 3 years ago

bantu4me commented 3 years ago

版本4.1.0 配置文件名修改为application.yml 配置文件内容 ` logging: level: org.springframework.web: info com.github.binarywang.demo.wx.miniapp: debug cn.binarywang.wx.miniapp: debug wx: miniapp: configs: appid: wx428b06bf3806d997 #微信小程序的appid secret: 24d0c825a5e62eede5ae660c68b75670 #微信小程序的Secret token: #微信小程序消息服务器配置的token aesKey: #微信小程序消息服务器配置的EncodingAESKey msgDataFormat: JSON

`

运行报错 大哥,拜托先看下项目首页的说明(readme文件),添加下相关配置,注意别配错了!

jason233 commented 3 years ago

不行哦

binarywang commented 3 years ago

看配置就知道你少了-导致的,故意删除的?