@Controller
@RequestMapping(value="/system/common")
public class CommonController
extends java.lang.Object
| Constructor and Description |
|---|
CommonController() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportExcel(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String searchCondition,
java.lang.String orderCondition)
功能描述:导出excel
|
void |
hanZi2PingYin(java.io.PrintWriter pw,
java.lang.String hanzi) |
org.springframework.http.ResponseEntity<java.lang.String> |
onlyValidate(OnlyValidate validateEntity) |
org.springframework.http.ResponseEntity<java.lang.String> |
sessionCheck()
会话过期检查
|
@RequestMapping(value="/onlyValidate",
method=POST)
public org.springframework.http.ResponseEntity<java.lang.String> onlyValidate(OnlyValidate validateEntity)
@RequestMapping(value="/ajaxSessionCheck",
method=POST)
public org.springframework.http.ResponseEntity<java.lang.String> sessionCheck()
@RequestMapping(value="exportExcel")
public void exportExcel(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
@RequestParam(value="name",required=false)
java.lang.String name,
@RequestParam(value="searchCondition",required=false)
java.lang.String searchCondition,
@RequestParam(value="orderCondition",required=false)
java.lang.String orderCondition)
throws java.lang.Exception
response - name - java.lang.Exception@RequestMapping(value="hanZi2PingYin")
public void hanZi2PingYin(java.io.PrintWriter pw,
@RequestParam(value="hanzi",required=false)
java.lang.String hanzi)