Example #1
0
 /** 获取公众号关注用户 */
 public void getFollowers() {
   ApiResult apiResult = UserApi.getFollows();
   // TODO 用 jackson 解析结果出来
   renderText(apiResult.getJson());
 }
Example #2
0
 /** 获取公众号菜单 */
 public void getMenu() {
   ApiResult apiResult = MenuApi.getMenu();
   if (apiResult.isSucceed()) renderText(apiResult.getJson());
   else renderText(apiResult.getErrorMsg());
 }