mirror of
https://github.com/dqjdda/Aurora.git
synced 2018-11-06 05:33:29 +00:00
新增图床管理,修复禁用账户后依然能登录的Bug,修复角色管理懒加载的Bug,部分代码优化,sql文件更新
This commit is contained in:
@@ -43,7 +43,7 @@ public class SysLogController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询所有日志
|
||||
* 查询所有日志s
|
||||
* @param username
|
||||
* @param method
|
||||
* @param operation
|
||||
@@ -52,7 +52,7 @@ public class SysLogController {
|
||||
* @param limit
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions(value={"admin", "log:all","log:select"}, logical= Logical.OR)
|
||||
@RequiresPermissions(value={"admin", "log:all"}, logical= Logical.OR)
|
||||
@GetMapping(value = "/getLogInfo")
|
||||
public Map getLogInfo(@RequestParam(value = "username",required = false) String username,
|
||||
@RequestParam(value = "method",required = false) String method,
|
||||
|
||||
@@ -70,7 +70,7 @@ public class PictureController {
|
||||
* 去上传页面
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions (value={"admin", "picture:all","picture:add"}, logical= Logical.OR)
|
||||
@RequiresPermissions (value={"admin", "picture:all","picture:upload"}, logical= Logical.OR)
|
||||
@GetMapping(value = "/toAddPage")
|
||||
public ModelAndView toAddPage(){
|
||||
log.warn("REST request to addPicturePage");
|
||||
|
||||
Reference in New Issue
Block a user