公告板
版本库
filestore
活动
搜索
登录
main
/
jxkg-new-ui-student
江西空管学生端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
feat:通过WebSokcet根据教师会议命令执行操作
龚焕茏
2024-08-09
50c328b3594885da4d97d87b301bce9e565ef330
[jxkg-new-ui-student.git]
/
src
/
api
/
modules
/
user.js
1
2
3
4
5
6
7
8
9
10
11
import service from "@/api";
// 登录请求
export const login = (postData = {}) => {
return service.post('/api/user/login', postData);
}
// 退出登录
export const logout = () => {
return service.post('/api/user/logout');
}