mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-17 12:25:07 +08:00
code review:签到配置
This commit is contained in:
18
src/api/member/signin/record/index.ts
Normal file
18
src/api/member/signin/record/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface SignInRecordVO {
|
||||
id: number
|
||||
userId: number
|
||||
day: number
|
||||
point: number
|
||||
}
|
||||
|
||||
// 查询用户签到积分列表
|
||||
export const getSignInRecordPage = async (params) => {
|
||||
return await request.get({ url: `/member/point/sign-in-record/page`, params })
|
||||
}
|
||||
|
||||
// 导出用户签到积分 Excel
|
||||
export const exportSignInRecord = async (params) => {
|
||||
return await request.download({ url: `/member/point/sign-in-record/export-excel`, params })
|
||||
}
|
Reference in New Issue
Block a user