use of com.ikoori.vip.common.persistence.model.WxConfig in project vip by guangdada.
the class WxConfigController method wxConfigUpdate.
/**
* 跳转到修改公众号管理
*/
@Permission
@RequestMapping("/wxConfig_update/{wxConfigId}")
public String wxConfigUpdate(@PathVariable Integer wxConfigId, Model model) {
WxConfig wxConfig = wxConfigMapper.selectById(wxConfigId);
model.addAttribute(wxConfig);
return PREFIX + "wxConfig_edit.html";
}
use of com.ikoori.vip.common.persistence.model.WxConfig 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);
}
use of com.ikoori.vip.common.persistence.model.WxConfig in project vip by guangdada.
the class WxConfigController method detail.
/**
* 公众号管理详情
*/
@Permission
@RequestMapping(value = "/detail/{wxConfigId}")
@ResponseBody
public Object detail(@PathVariable Long wxConfigId, Model model) {
WxConfig wxConfig = wxConfigMapper.selectById(wxConfigId);
model.addAttribute(wxConfig);
return PREFIX + "wxConfig_edit.html";
}
Aggregations