chore: establish V1.1 recovery baseline

This commit is contained in:
2026-09-09 22:05:00 +08:00
commit b46b48eb33
947 changed files with 155471 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/**
* 用户状态服务(API_INVENTORY 行 12)
*
* 仅封装 /me/status:返回全局 UserState 聚合,决定路由、权限与首页 Tab。
* /me/profile、/me/preferences 等单独走 profileService。
*/
const api = require('../utils/api');
/**
* 获取当前用户状态(API_INVENTORY 行 12)
* @returns {Promise<import('../types').UserState>}
*/
function getStatus() {
return api.get('/me/status');
}
module.exports = {
getStatus,
};