feat 同步脚手架代码, 更新数据库脚本和内容

This commit is contained in:
daxpay
2025-05-07 17:58:29 +08:00
parent a9153aa61a
commit 81479301f0
17 changed files with 64 additions and 273 deletions

View File

@@ -21,13 +21,10 @@ public class AuthProperties {
/** 不进行鉴权的路径 */
private List<String> ignoreUrls = new ArrayList<>();
/** 盐值 */
private String salt = "salt";
/** 开启超级管理员(生产模式推荐关闭) */
/** 开启超级管理员(生产模式请关闭) */
private boolean enableAdmin = true;
/** 用户管理列表中是否显示 */
/** 用户管理列表中是否显示超级管理员用户 */
private boolean adminInList = true;
}

View File

@@ -37,6 +37,7 @@ public class TokenEndpoint {
@Operation(summary = "退出")
@PostMapping("/logout")
public Result<Void> logout() {
tokenService.logout();
return Res.ok();
}