Commit 9f4ec597 by guojuxing

自定义菜单测试

parent cb58836f
......@@ -106,7 +106,7 @@ public class WechatMenuController {
@RequestMapping("/synchronize-menu-test")
public RestResponse synchronizeMenu() {
weixinMenuFunService.deleteMenu("wxc6fd9beaf9a9dbe9");
ServiceResponse<String> response = weixinMenuFunService.createMenu("wxc6fd9beaf9a9dbe9", "{\"button\":[{\"appid\":\"wxbd93b4d72c3540e6\",\"name\":\"会员中心\",\"pagepath\":\"test\",\"type\":\"miniprogram\",\"url\":\"www.baidu.com\"}]}");
ServiceResponse<String> response = weixinMenuFunService.createMenu("wxc6fd9beaf9a9dbe9", "{\"button\":[{\"appid\":\"\",\"name\":\"会员中心\",\"pagepath\":\"test\",\"type\":\"miniprogram\",\"url\":\"www.baidu.com\"}]}");
return RestResponse.success(response);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment