-
Notifications
You must be signed in to change notification settings - Fork 489
微信小程序开发设置
borball edited this page Dec 29, 2016
·
2 revisions
-
默认配置方式
可以直接在 classpath 下面增加 wx-app-settings.xml,内容如下:
<AppSetting> <appId>wx74755fbba35c24da</appId> <secret>d4624c36b6795d1d99dcf0547af5443d</secret> <token>wonskd113n</token> <aesKey>lRE3qfnBHxqzBE5i12v6CzU257ERsOIeMKqfDPdFu5c</aesKey> <!-- 可以指定自己的tokenHolderClass,继承com.riversoft.weixin.common.AccessTokenHolder <tokenHolderClass>com.abc.Abc</tokenHolderClass> --> </AppSetting>