项目仓库初始化

This commit is contained in:
Stev_Wang
2025-12-25 18:20:37 +08:00
commit b975165f18
12 changed files with 405 additions and 0 deletions

9
auth/out_login.js Normal file
View File

@@ -0,0 +1,9 @@
// @ts-ignore 退出登录
export async function execute(http_message) {
let username = HttpReQUtils.check_auth(http_message);
if (username.length > 0) {
_AdminUserTokenCache.delete(HttpReQUtils.get_token(http_message));
_AdminTokenUserCache.delete(username);
}
return HttpResUtils.all(null,402,null,true);
}