Commit 18144407 authored by trumansdo's avatar trumansdo
Browse files

应用codestyle


千万千万要用vscode打开前端项目,或者关闭eslint,移除它
Signed-off-by: default avatartrumansdo <1012243881@qq.com>
parent 9b3d96a6
...@@ -5,18 +5,20 @@ import java.lang.annotation.RetentionPolicy; ...@@ -5,18 +5,20 @@ import java.lang.annotation.RetentionPolicy;
/** /**
* 用来标注功能id * 用来标注功能id
*
* <pre> * <pre>
* &#064;Function("user.add") * &#064;Function("user.add")
* public String addUser(){ * public String addUser(){
* } * }
* </pre> * </pre>
* *
* 只有拥有此项功能的角色才能操作,否则,权限不足 * 只有拥有此项功能的角色才能操作,否则,权限不足
* @author lijiazhi
* *
* @author lijiazhi
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
public @interface Function { public @interface Function {
public String value(); public String value();
public String name() default "";
public String name() default "";
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment