更新: API文档和数据库文档,优化课程和用户相关功能

This commit is contained in:
huertian
2025-01-02 14:06:20 +08:00
parent 5babb8f930
commit 53e5b5cd85
17 changed files with 610 additions and 558 deletions

View File

@ -34,9 +34,9 @@ export const useUser = defineStore("user", () => {
const jobMap = {
teacher: 1, // 课程制作教师
projectManager: 2, // 课程购买方项目负责人
liaison: 3, // 课程制作方沟通联络
sysManager: 4 // 系统制作方项目负责人
projectManager: 2, // 课程审核人员
liaison: 3, // 校方项目负责
sysManager: 4 // 公司系统管理员
};
return userinfo.value.jobs === jobMap[job];