增加VIP会员

This commit is contained in:
唐明明
2024-04-09 17:29:23 +08:00
parent e520ff11d2
commit 70c5d15d44
16 changed files with 852 additions and 139 deletions

View File

@@ -273,6 +273,7 @@ const delegationCancel = id => {
})
}
export {
home,
articleSort,
@@ -307,5 +308,5 @@ export {
delegation,
delegationFrom,
delegationOrder,
delegationCancel
delegationCancel
}

View File

@@ -359,6 +359,30 @@ const userSubscribe = () => {
})
}
// 会员信息
const identity = () => {
return request({
url: 'identity'
})
}
// 开通会员
const vip = data => {
return request({
url: 'identity/open',
method: 'POST',
data
})
}
// 团队列表
const team = data => {
return request({
url: 'user/relations/wechat',
data
})
}
export {
userIndex,
realName,
@@ -404,5 +428,8 @@ export {
cacheBankPut,
getSignLogs,
getFlows,
userSubscribe
userSubscribe,
identity,
vip,
team
}