mirror of
https://github.com/zccbbg/wms-ruoyi.git
synced 2024-09-20 19:15:54 +08:00
增加注释
This commit is contained in:
parent
c79424776b
commit
6cedd28256
|
@ -51,6 +51,14 @@ public class DataScopeAspect
|
|||
*/
|
||||
public static final String DATA_SCOPE = "dataScope";
|
||||
|
||||
/**
|
||||
* 拦截带有@DataScope注解的方法
|
||||
* 它接收JoinPoint和DataScope对象作为参数。拦截带有@DataScope注解的方法
|
||||
* DataScope是一个注解类
|
||||
* @param point
|
||||
* @param controllerDataScope
|
||||
* @throws Throwable
|
||||
*/
|
||||
@Before("@annotation(controllerDataScope)")
|
||||
public void doBefore(JoinPoint point, DataScope controllerDataScope) throws Throwable
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue