You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
322 B
JavaScript
18 lines
322 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// api地址
|
|
const api = {
|
|
list: 'clientApi/points/list',
|
|
gift: 'clientApi/points/doGive'
|
|
}
|
|
|
|
// 积分明细列表
|
|
export const list = (param) => {
|
|
return request.get(api.list, param)
|
|
}
|
|
|
|
// 积分转赠
|
|
export const gift = (param) => {
|
|
return request.post(api.gift, param)
|
|
}
|