类 StaticPageController
java.lang.Object
com.mbap.ct.staticpage.controller.StaticPageController
生成静态类、页面文件控制器
- 作者:
- Amanda.Z
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
StaticPageController
public StaticPageController()
-
-
方法详细资料
-
createEntityFile
@PostMapping("createfile/{entityId}/{id}") public com.mbap.util.view.R createEntityFile(@PathVariable("entityId") String entityId, @PathVariable("id") String id, @RequestBody Conf conf) 生成控制器、服务类文件- 参数:
entityId- 实体配置idid- 列表配置idconf- 路径配置- 返回:
-
getConf
根据构建实体id生成默认路径配置- 参数:
id- 构建实体id- 返回:
-
download
@RequestMapping(method=POST, value="/download/{entityId}/{id}", name="\u751f\u6210\u914d\u7f6e\u6587\u4ef6\u4e0b\u8f7d") public void download(@PathVariable("entityId") String entityId, @PathVariable("id") String id, @RequestBody Conf conf, javax.servlet.http.HttpServletResponse response) throws Exception 功能描述: 下载- 参数:
entityId- 实体配置idid- 列表配置idresponse-- 抛出:
Exception
-