123
This commit is contained in:
1 parent
0df6716cc3
commit
009955d560
25 files changed
+417
-63
No files matched your search
@@ -3,6 +3,8 @@ package com.ruoyi.common.core.controller;
|
||||
import java.beans.PropertyEditorSupport;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.SecurityUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.web.bind.WebDataBinder;
|
||||
@@ -133,6 +135,9 @@ public class BaseController
|
||||
return AjaxResult.error(message);
|
||||
}
|
||||
|
||||
protected Long getUserId(){
|
||||
return SecurityUtils.getLoginUser().getUser().getUserId();
|
||||
}
|
||||
/**
|
||||
* 页面跳转
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user