@Controller public class PhilosophyController extends Object
| 构造器和说明 |
|---|
PhilosophyController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addPhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String philosophy) |
String |
deletePhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] id) |
String |
getPhilosophyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getphilosophyList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
Integer project,
Long startAt,
Long endAt) |
String |
updatePhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.score.admin.model.Philosophy philosophy) |
String |
updatePhilosophyStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
@RequestMapping(value="/a/u/philosophy",
method=GET)
public String getphilosophyList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
Integer project,
Long startAt,
Long endAt)
throws Exception
Exception@RequestMapping(value="/a/u/philosophy",
method=POST)
public String addPhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@RequestBody
String philosophy)
throws Exception
Exception@RequestMapping(value="/a/u/philosophy",
method=PUT)
public String updatePhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@RequestBody
com.ptteng.score.admin.model.Philosophy philosophy)
throws Exception
Exception@RequestMapping(value="/a/u/philosophy",
method=DELETE)
public String deletePhilosophy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] id)
throws Exception
Exception@RequestMapping(value="/a/u/philosophy/{id}",
method=GET)
public String getPhilosophyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/philosophy/status/{id}",
method=PUT)
public String updatePhilosophyStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
ExceptionCopyright © 2017. All rights reserved.