use of com.ikoori.vip.server.modular.biz.warpper.WxconfigWarpper in project vip by guangdada.
the class WxConfigController method list.
/**
* 获取公众号管理列表
*/
@RequestMapping(value = "/list", method = RequestMethod.POST)
@Permission
@ResponseBody
public Object list(String appid) {
Page<WxConfig> page = new PageFactory<WxConfig>().defaultPage();
List<Map<String, Object>> result = wxConfigDao.getWxConfigList(page, appid, page.getOrderByField(), page.isAsc());
page.setRecords((List<WxConfig>) new WxconfigWarpper(result).warp());
return super.packForBT(page);
}
Aggregations