【8.1.9】更新控制器参数配置

dev-8.1.9
stylefeng 2024-07-11 16:21:00 +08:00
parent 502a239f28
commit 6691258d52
2 changed files with 8 additions and 1 deletions

View File

@ -143,4 +143,9 @@ public interface PermissionCodeConstants {
*/
String CHANGE_ROLE_BIND_LIMIT = "CHANGE_ROLE_BIND_LIMIT";
/**
*
*/
String PASSWORD_STRATEGY_CONFIG = "PASSWORD_STRATEGY_CONFIG";
}

View File

@ -13,6 +13,8 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import static cn.stylefeng.roses.kernel.sys.api.constants.PermissionCodeConstants.PASSWORD_STRATEGY_CONFIG;
/**
*
*
@ -20,7 +22,7 @@ import javax.annotation.Resource;
* @since 2023/10/4 15:59
*/
@RestController
@ApiResource(name = "安全策略配置")
@ApiResource(name = "安全策略配置", requiredPermission = true, requirePermissionCode = PASSWORD_STRATEGY_CONFIG)
public class SecurityStrategyController {
@Resource