feat: 优化
This commit is contained in:
19
frontend/app/web-gold/src/api/pointRecord.js
Normal file
19
frontend/app/web-gold/src/api/pointRecord.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import http from './http'
|
||||
import { API_BASE } from '@gold/config/api'
|
||||
|
||||
/**
|
||||
* 积分记录 API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 获取当前用户积分记录分页
|
||||
* @param {Object} params - 分页参数
|
||||
* @param {number} params.pageNo - 页码
|
||||
* @param {number} params.pageSize - 每页数量
|
||||
* @param {string} params.type - 变动类型 increase/decrease
|
||||
* @param {string} params.bizType - 业务类型
|
||||
* @returns {Promise}
|
||||
*/
|
||||
export function getPointRecordPage(params = {}) {
|
||||
return http.get(`${API_BASE.APP_MEMBER}/tik/point-record/page`, { params })
|
||||
}
|
||||
Reference in New Issue
Block a user