|
@@ -63,7 +63,7 @@ public class WeixinApiController extends ApiController {
|
|
|
String str = "{\n" +
|
|
|
" \"button\": [\n" +
|
|
|
" {\n" +
|
|
|
- " \"name\": \"我的检查\",\n" +
|
|
|
+ " \"name\": \"个人中心\",\n" +
|
|
|
" \"sub_button\": [\n" +
|
|
|
" {\n" +
|
|
|
"\t \"name\": \"我的检查列表\",\n" +
|
|
@@ -83,19 +83,36 @@ public class WeixinApiController extends ApiController {
|
|
|
" ]\n" +
|
|
|
" },\n" +
|
|
|
" {\n" +
|
|
|
+ " \"name\": \"增值服务\",\n" +
|
|
|
+ " \"sub_button\": [\n" +
|
|
|
+ " {\n" +
|
|
|
"\t \"name\": \"大病筹款\",\n" +
|
|
|
"\t \"url\": \"https://www.shuidichou.com/luban/f45t2je2sard/1?channel=ad_search_sem&source=app_zkwx\",\n" +
|
|
|
"\t \"type\": \"view\"\n" +
|
|
|
" },\n" +
|
|
|
" {\n" +
|
|
|
"\t \"name\": \"健易保\",\n" +
|
|
|
-// "\t \"url\": \"http://wechat.pacsonline.cn/wx_patient/web/aboutUs\",\n" +
|
|
|
-//"\t \"name\": \"疫情通道\",\n" +
|
|
|
-//"\t \"url\": \"https://wj.qq.com/s2/5297050/807b/\",\n" +
|
|
|
"\t \"url\": \"http://leo.spread.newtank.cn/group0930\",\n" +
|
|
|
"\t \"type\": \"view\"\n" +
|
|
|
" }\n" +
|
|
|
" ]\n" +
|
|
|
+ " },\n" +
|
|
|
+ " {\n" +
|
|
|
+ " \"name\": \"健康之家\",\n" +
|
|
|
+ " \"sub_button\": [\n" +
|
|
|
+ " {\n" +
|
|
|
+ "\t \"name\": \"冬季养生\",\n" +
|
|
|
+ "\t \"url\": \"https://mp.weixin.qq.com/s/EUK981Irt7hOb6gOs4JC1Q\",\n" +
|
|
|
+ "\t \"type\": \"view\"\n" +
|
|
|
+ " },\n" +
|
|
|
+ " {\n" +
|
|
|
+ "\t \"name\": \"高血压调理\",\n" +
|
|
|
+ "\t \"url\": \"https://mp.weixin.qq.com/s/zEY4abvTqigaCVrRj5wVaw\",\n" +
|
|
|
+ "\t \"type\": \"view\"\n" +
|
|
|
+ " }\n" +
|
|
|
+ " ]\n" +
|
|
|
+ " },\n" +
|
|
|
+ " ]\n" +
|
|
|
"}";
|
|
|
ApiResult apiResult = MenuApi.createMenu(str);
|
|
|
if (apiResult.isSucceed())
|