新增答辩用后台管理系统
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import { get, post } from '@/api/request'
|
||||
|
||||
export function getSignInRecords(params: any) {
|
||||
return get('/api/checkIn/records', params)
|
||||
}
|
||||
|
||||
export function getSignInRecordById(id: number) {
|
||||
return get(`/api/checkIn/records/${id}`)
|
||||
}
|
||||
|
||||
export function getSignInStatistics(params: any) {
|
||||
return get('/api/checkIn/statistics', params)
|
||||
}
|
||||
|
||||
export function getDailySignInStats(params: any) {
|
||||
return get('/api/checkIn/daily-stats', params)
|
||||
}
|
||||
|
||||
export function getAllSignInRecords(params: any) {
|
||||
return get('/api/checkIn/admin/records', params)
|
||||
}
|
||||
|
||||
export function getAllSignInStatistics(params: any) {
|
||||
return get('/api/checkIn/admin/statistics', params)
|
||||
}
|
||||
|
||||
export function checkIn(data: any) {
|
||||
return post('/api/checkIn', data)
|
||||
}
|
||||
Reference in New Issue
Block a user