chore: 前端首次基线提交

运行必须源码:src/、public/、index.html、package.json 及构建配置。
已忽略运行非必须:node_modules/、dist/、.env*。
This commit is contained in:
WorkBuddy
2026-08-17 12:25:42 +08:00
commit e8f0195b61
52 changed files with 16866 additions and 0 deletions

11
src/api/score.js Normal file
View File

@@ -0,0 +1,11 @@
import request from './request'
// ==================== 成绩查询 API ====================
/**
* 获取当前登录用户的成绩
* @returns {Promise} { score, detail, rank, published }
*/
export function getMyScore() {
return request.get('/score')
}