@Controller @RequestMapping(value="/manager/corehomepage") public class CoreHomepageDesignController extends BaseController
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreHomepageDesignController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreHomepageDesign entity) |
RetVo |
checkObjcode(java.util.Map<java.lang.String,java.lang.String> params)
判断编号是否存在
|
RetVo |
clone(CoreHomepageDesign entity) |
java.lang.String |
consoleHomepage(javax.servlet.http.HttpServletRequest request)
后台首页
|
java.lang.String |
design(java.util.Map<java.lang.String,java.lang.Object> params,
javax.servlet.http.HttpServletRequest request)
设计
|
java.lang.String |
main(javax.servlet.http.HttpServletRequest request) |
RetVo |
modify(CoreHomepageDesign entity) |
RetVo |
modifyHomepageContent(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
modules(java.util.Map<java.lang.String,java.lang.String> params)
获取首页中可展示的模块
|
java.lang.String |
preview(java.util.Map<java.lang.String,java.lang.Object> params,
javax.servlet.http.HttpServletRequest request)
预览
|
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
queryById(java.util.Map<java.lang.String,java.lang.String> params) |
RetVo |
queryHomepageContent(java.util.Map<java.lang.String,java.lang.String> params) |
RetVo |
remove(java.util.Map<java.lang.String,java.lang.String> params) |
java.lang.String |
webHomepage(javax.servlet.http.HttpServletRequest request)
前台首页
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/design", method={GET,POST}) public java.lang.String design(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
params
- 参数request
- 请求对象java.lang.Exception
- 出错会抛出异常@RequestMapping(value="preview", method={GET,POST}) public java.lang.String preview(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
params
- 参数request
- 请求对象java.lang.Exception
- 出错会抛出异常@CrossOrigin(origins="http://help.kdayun.com") @RequestMapping(value="/web/index") public java.lang.String webHomepage(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
- 请求对象java.lang.Exception
- 出错会抛出异常@RequestMapping(value="/console/index") public java.lang.String consoleHomepage(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
- 请求对象java.lang.Exception
- 出错会抛出异常@RequestMapping(value="/query", method={POST,GET}) @ResponseBody public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/querybyid", method=GET) @ResponseBody public RetVo queryById(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/add", method=PUT) @ResponseBody public RetVo add(@RequestBody CoreHomepageDesign entity) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/modify", method=POST) @ResponseBody public RetVo modify(@RequestBody CoreHomepageDesign entity) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/remove", method=DELETE) @ResponseBody public RetVo remove(@RequestBody java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/hpcontent/query", method=GET) @ResponseBody public RetVo queryHomepageContent(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/hpcontent/modify") @ResponseBody public RetVo modifyHomepageContent(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/clone", method=POST) @ResponseBody public RetVo clone(@RequestBody CoreHomepageDesign entity) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/check/objcode", method=GET) @ResponseBody public RetVo checkObjcode(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- OBJCODE:编号,不能为空java.lang.Exception
- 出错会抛出异常@RequestMapping(value="/modules") @ResponseBody public RetVo modules(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- 参数java.lang.Exception
- 出错会抛出异常