Commit 14876f72 by guojuxing

自定义菜单测试

parent ebc24697
......@@ -103,6 +103,13 @@ public class WechatMenuController {
return EnterpriseRestResponse.failure(result);
}
@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\"}]}");
return RestResponse.success(response);
}
@RequestMapping("/list-menu-type")
public RestResponse listMenuType() {
List<Map<String, Object>> list = new ArrayList<>();
......
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