项目仓库初始化

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

10
get_current_user.js Normal file
View File

@@ -0,0 +1,10 @@
// @ts-ignore 获取账号信息
export async function execute(http_message) {
let username = HttpReQUtils.check_auth(http_message);
if (username && username.length > 0) {
return HttpResUtils.ok({
username: username,
});
}
return HttpResUtils.err_code(402);
}