[测评系统]--前端(用户答题页面)
zhijie
2023-12-11 dc9c1c7c486ee140f1cdc64d0aeafffdced612f4
1
2
3
4
5
6
7
8
9
10
11
12
import { post, postOts } from '@/utils/request'
 
export default {
  createUser: query => post('/api/student/user/edit', query),
  getCurrentUser: () => postOts('/api/exam/examUser/current'),
  getUserEvent: () => post('/api/student/user/log'),
  update: query => post('/api/student/user/update', query),
  messagePageList: query => post('/api/student/user/message/page', query),
  read: id => post('/api/student/user/message/read/' + id),
  // getMessageCount: () => post('/api/student/user/message/unreadCount')
  getMessageCount: () => postOts('/api/exam/examUser/message/unreadCount')
}