index.ts 492 B

123456789101112131415161718
  1. import request from '@/config/axios'
  2. export interface SignInRecordVO {
  3. id: number
  4. userId: number
  5. day: number
  6. point: number
  7. }
  8. // 查询用户签到积分列表
  9. export const getSignInRecordPage = async (params) => {
  10. return await request.get({ url: `/member/point/sign-in-record/page`, params })
  11. }
  12. // 导出用户签到积分 Excel
  13. export const exportSignInRecord = async (params) => {
  14. return await request.download({ url: `/member/point/sign-in-record/export-excel`, params })
  15. }