第一次提交
This commit is contained in:
24
api/love-user-plan-equity.js
Normal file
24
api/love-user-plan-equity.js
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user