鉴权修改

This commit is contained in:
张松
2025-11-08 13:26:12 +08:00
parent 4d645859e0
commit d6f56d43ce
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ import java.lang.annotation.Target;
* @author click33
*
*/
@SaCheckPermission(type = "admin")
//@SaCheckPermission(type = "user")
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE})

View File

@@ -16,7 +16,7 @@ import java.lang.annotation.Target;
*
*/
//@SaCheckRole(type = "user")
@SaCheckRole(type = "admin")
//@SaCheckRole(type = "admin")
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE})
public @interface SaAdminCheckRole {