index.ts 575 B

12345678910111213141516171819202122
  1. import request from '@/config/axios'
  2. export interface ExperienceRecordVO {
  3. id: number
  4. userId: number
  5. bizId: string
  6. bizType: number
  7. title: string
  8. description: string
  9. experience: number
  10. totalExperience: number
  11. }
  12. // 查询会员经验记录列表
  13. export const getExperienceRecordPage = async (params) => {
  14. return await request.get({ url: `/member/experience-record/page`, params })
  15. }
  16. // 查询会员经验记录详情
  17. export const getExperienceRecord = async (id: number) => {
  18. return await request.get({ url: `/member/experience-record/get?id=` + id })
  19. }