import api from './request'

// 积分相关API
export const getPointsInfo = () => {
  return api.get('/points/info')
}

export const getPointsHistory = (params = {}) => {
  return api.get('/points/history', { params })
}

export const getPointsFreezeRecords = () => {
  return api.get('/points/freeze-records')
}

export const processExpiredRecords = () => {
  return api.post('/points/process-expired')
}





