@Controller @VisitRefer(refer="decision-management-mobile") @RequestMapping(value="/{version}/mobile/config/entry") public class MobileEntryResource extends java.lang.Object
构造器和说明 |
---|
MobileEntryResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addBanner(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
BannerBean bean) |
Response |
addCustomIcon(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String[] ids) |
Response |
deleteBanner(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String id) |
Response |
deleteCustomIcon(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String iconId) |
Response |
getBannerList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getEntryConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getIconList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStyleList(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setEntryConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EntryConfigBean bean) |
Response |
updateBanner(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String id,
BannerBean bean) |
@RequestMapping(method=GET) @ResponseBody public Response getEntryConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version)
@RequestMapping(value="/style", method=GET) @ResponseBody public Response getStyleList(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version)
@RequestMapping(method=POST) @ResponseBody public Response setEntryConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EntryConfigBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/banner", method=GET) @ResponseBody public Response getBannerList(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version)
@RequestMapping(value="/banner", method=POST) @ResponseBody public Response addBanner(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody BannerBean bean)
@RequestMapping(value="/banner/{bannerId}", method=PUT) @ResponseBody public Response updateBanner(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="bannerId") java.lang.String id, @RequestBody BannerBean bean)
@RequestMapping(value="/banner/{bannerId}", method=DELETE) @ResponseBody public Response deleteBanner(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="bannerId") java.lang.String id)
@RequestMapping(value="/icon/list/custom", method=GET) @ResponseBody public Response getIconList(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version)
@RequestMapping(value="/icon", method=POST) @ResponseBody public Response addCustomIcon(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody java.lang.String[] ids)
@RequestMapping(value="/icon/{iconId}", method=DELETE) @ResponseBody public Response deleteCustomIcon(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="iconId") java.lang.String iconId) throws java.lang.Exception
java.lang.Exception