250108
This commit is contained in:
@@ -104,3 +104,13 @@ export async function getThinkUsersVip(id: number) {
|
||||
}
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
export async function thinkUsersVipLog(id: number) {
|
||||
const res = await request.get<ApiResult<ThinkUsersVip>>(
|
||||
THINK_API_URL + '/think/think-users-vip/log/' + id
|
||||
);
|
||||
if (res.data.code === 0 && res.data.data) {
|
||||
return res.data.data;
|
||||
}
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
@@ -35,21 +35,21 @@ export interface ThinkUsersVip {
|
||||
// 剩余次数
|
||||
num?: number;
|
||||
// 付款状态
|
||||
status?: string;
|
||||
status?: number;
|
||||
// 是否已充值,1已充值,2未充值
|
||||
isRecharge?: string;
|
||||
isRecharge?: number;
|
||||
// 充值金额
|
||||
rechargePrice?: string;
|
||||
rechargePrice?: number;
|
||||
// 会员卡年限
|
||||
term?: string;
|
||||
term?: number;
|
||||
// 月限
|
||||
month?: string;
|
||||
month?: number;
|
||||
// 会员卡类型:1年卡,2次卡,3月卡,4会员VIP
|
||||
type?: string;
|
||||
type?: number;
|
||||
// 卡类型:1成人卡,2儿童卡
|
||||
cardType?: string;
|
||||
cardType?: number;
|
||||
// vip卡等级类型:1特殊vip卡,2普通vip卡
|
||||
vipType?: string;
|
||||
vipType?: number;
|
||||
// 特殊卡开发凭证图
|
||||
pic?: string;
|
||||
// VIP充值卡价格组
|
||||
|
||||
Reference in New Issue
Block a user