@Controller @RequestMapping(value="manager/coresysopt") public class CoreSysOptController extends BaseManagerController
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreSysOptService |
coreSysOptService |
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreSysOptController() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
main(javax.servlet.http.HttpServletRequest request)
主页面
|
RetVo |
modify(CoreSysOpt opt) |
RetPageVo |
query(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
querybyid(java.lang.String optid,
java.lang.String orgid) |
RetVo |
queryRealxtypec(java.util.Map<java.lang.String,java.lang.Object> params)
得到对应机构的选项,如果对应的机构没有设置是返回null
|
RetVo |
querytheme()
查询系统主题
|
RetVo |
queryxtypec(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
removetheme(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
uploadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
平台设置上传文件
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@Autowired CoreSysOptService coreSysOptService
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
request
- 请求对象@ResponseBody @RequestMapping(value="query", method=POST) public RetPageVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(@RequestBody CoreSysOpt opt) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="querybyid", method=POST) public RetVo querybyid(@RequestParam(value="optid") java.lang.String optid, @RequestParam(value="orgid",required=false) java.lang.String orgid) throws java.lang.Exception
optid
- 系统选项RWID的值orgid
- 机构idjava.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="uploadfile", method=POST) public RetVo uploadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- 请求对象response
- 相应对象java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="queryxtypec", method=GET) public RetVo queryxtypec(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="queryRealxtypec", method=GET) public RetVo queryRealxtypec(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- 参数java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="querytheme", method=POST) public RetVo querytheme() throws java.lang.Exception
java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="removetheme", method=POST) public RetVo removetheme(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception