提交 9528e3e1 编写于 作者: wangyongbo's avatar wangyongbo

公众号菜单

上级 2d1eab19
......@@ -24,7 +24,7 @@ public class MenuManagerServiceImpl {
public static void main(String[] args) throws IOException {
// CloudPropertiesUtil.read("dev");
CloudPropertiesUtil.read("test1");
CloudPropertiesUtil.read("uat");
AccessToken accessToken = WeChatToolUtil.getAccessToken(CloudPropertiesUtil.getValue("AppID"), CloudPropertiesUtil.getValue("AppSecret"));
Boolean flag = WeChatToolUtil.createMenu(getMenu(), accessToken.getAccess_token());
if (flag) {
......@@ -42,11 +42,11 @@ public class MenuManagerServiceImpl {
*/
private static Menu getMenu() throws UnsupportedEncodingException {
//test1
String btn11Url = "https://test1-yunqueyilian.yunqueyi.com/message";
String btn11Url = "https://uat-yunqueyilian.yunqueyi.com/message";
String btn21Url = "http://mp.weixin.qq.com/mp/homepage?__biz=MzIzNjM5NDA1OQ==&hid=2&sn=f52aa8659aa75f32aae5ea62d23e64ca&scene=18#wechat_redirect";
String btn31Url = "https://test1-yunqueyilian.yunqueyi.com/goBind";
String btn32Url = "https://test1-yunqueyilian.yunqueyi.com/applyIndex";
String btn33Url = "https://test1-yunqueyilian.yunqueyi.com/followUp";
String btn31Url = "https://uat-yunqueyilian.yunqueyi.com/goBind";
String btn32Url = "https://uat-yunqueyilian.yunqueyi.com/applyIndex";
String btn33Url = "https://uat-yunqueyilian.yunqueyi.com/followUp";
//pro
// String btn11Url = "https://yunqueyilian.yunqueyi.com/message";
......
......@@ -25,8 +25,8 @@ spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
AppID=wxcf79dbdc24cb684b
AppSecret=febe33eec4d0c05d62a2393be35c35c4
#local settings
#feign.hystrix.enabled=true
......
......@@ -25,8 +25,8 @@ spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F \u5411\u6587
AppID=wxb23b6ab41e13da6d
AppSecret=0ddc5f4d893663d07885d0f99e61b097
AppID=wxcf79dbdc24cb684b
AppSecret=febe33eec4d0c05d62a2393be35c35c4
#local settings
#feign.hystrix.enabled=true
......
......@@ -25,8 +25,8 @@ spring.rabbitmq.username=picacloud
spring.rabbitmq.password=123456
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F \u54F2\u6D69
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
AppID=wxcf79dbdc24cb684b
AppSecret=febe33eec4d0c05d62a2393be35c35c4
#local settings
#feign.hystrix.enabled=true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册