You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
import request from '@/utils/request'
|
|
const serviceTitle = '/img'
|
|
const prefix = '/img/mini/tiktok'
|
|
const prefix_vip = '/img/mini/vip'
|
|
//GET 传参需要用 params
|
|
//POST 传参需要用 data
|
|
|
|
//获取用户收藏分頁
|
|
export function listTiktokCollection(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/listTiktokCollection`,
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//获取会员list
|
|
export function queryUserVipList() {
|
|
return request({
|
|
url: `${serviceTitle}${prefix_vip}/queryUserVipList`,
|
|
method: 'post',
|
|
data:{}
|
|
})
|
|
}
|
|
|
|
//获取会员orderid
|
|
export function addVipOrder(data) {
|
|
return request({
|
|
url: `/order/vip/addVipOrder`,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
//获取抖音token
|
|
export function unifiedOrder(data) {
|
|
return request({
|
|
url: `/pay/unified/unifiedOrder`,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
//获取当日下载剩余次数
|
|
export function getRestDownloadNum(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/getRestDownloadNum`,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
//获取当日绘画奖励剩余次数
|
|
export function getRestRewardNum(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/getRestRewardNum`,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|