|
|
|
@ -55,7 +55,7 @@ public class SysLogController {
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.GET) |
|
|
|
|
@RequiresPermissions("system:log:list") |
|
|
|
|
//@RequiresPermissions("system:log:list")
|
|
|
|
|
public Result<IPage<SysLog>> queryPageList(SysLog syslog,@RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,HttpServletRequest req) { |
|
|
|
|
Result<IPage<SysLog>> result = new Result<IPage<SysLog>>(); |
|
|
|
@ -86,7 +86,7 @@ public class SysLogController {
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@RequestMapping(value = "/delete", method = RequestMethod.DELETE) |
|
|
|
|
@RequiresPermissions("system:log:delete") |
|
|
|
|
//@RequiresPermissions("system:log:delete")
|
|
|
|
|
public Result<SysLog> delete(@RequestParam(name="id",required=true) String id) { |
|
|
|
|
Result<SysLog> result = new Result<SysLog>(); |
|
|
|
|
SysLog sysLog = sysLogService.getById(id); |
|
|
|
@ -107,7 +107,7 @@ public class SysLogController {
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@RequestMapping(value = "/deleteBatch", method = RequestMethod.DELETE) |
|
|
|
|
@RequiresPermissions("system:log:deleteBatch") |
|
|
|
|
//@RequiresPermissions("system:log:deleteBatch")
|
|
|
|
|
public Result<SysRole> deleteBatch(@RequestParam(name="ids",required=true) String ids) { |
|
|
|
|
Result<SysRole> result = new Result<SysRole>(); |
|
|
|
|
if(ids==null || "".equals(ids.trim())) { |
|
|
|
|