提交 573b09e5 编写于 作者: yongbo.wang's avatar yongbo.wang

Merge branch 'dev-20200702' into 'release'

公众号菜单



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