@Controller
@RequestMapping(value="rest/system/syslog")
public class SystemLogRESTController
extends java.lang.Object
| Constructor and Description |
|---|
SystemLogRESTController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
get(bap.core.formbean.Page page)
分页取得多条数据
|
org.springframework.http.ResponseEntity<java.lang.String> |
get(java.lang.String id)
取得单条数据
|
org.springframework.http.ResponseEntity<java.lang.String> |
getCompare(bap.core.formbean.Page page,
java.lang.String parTime,
java.lang.String compareTime)
访问日志对比列表
|
org.springframework.http.ResponseEntity<java.lang.String> |
getLine(java.lang.String time,
java.lang.String type)
折线图数据读取
|
@GetMapping public org.springframework.http.ResponseEntity<java.lang.String> get(bap.core.formbean.Page page)
page - 分页属性封装对象@GetMapping(value="{id}")
public org.springframework.http.ResponseEntity<java.lang.String> get(@PathVariable(value="id")
java.lang.String id)
id - @RequestMapping(value="compare",
method=GET)
public org.springframework.http.ResponseEntity<java.lang.String> getCompare(bap.core.formbean.Page page,
@RequestParam(value="parTime",required=false)
java.lang.String parTime,
@RequestParam(value="compareTime",required=false)
java.lang.String compareTime)
page - @RequestMapping(value="line",
method=GET)
public org.springframework.http.ResponseEntity<java.lang.String> getLine(@RequestParam(value="time",required=false)
java.lang.String time,
@RequestParam(value="type",required=false)
java.lang.String type)
time - 查询时间