第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import http from './index.js';
// 分页查询会员权益
export const pageUserPlanEquity = (params) => http.get('/love/user-plan-equity/page', {params})
// 查询全部会员权益
export const listUserPlanEquity = (params) => http.get('/love/user-plan-equity', {params})
// 修改会员权益
export const addUserPlanEquity = (data) => http.post('/love/user-plan-equity', data)
// 删除会员权益
export const removeUserPlanEquity = (id) => http.delete('/love/user-plan-equity/' + id)
// 创建会员订单记录
export const getPlanByPriceId = (priceId) => http.get('/love/user-plan-equity/getPlanByPriceId/' + priceId)
export default {
pageUserPlanEquity,
listUserPlanEquity,
addUserPlanEquity,
removeUserPlanEquity,
getPlanByPriceId
}