第一次提交
This commit is contained in:
24
api/love-user-plan.js
Normal file
24
api/love-user-plan.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 分页查询会员套餐
|
||||
export const pageUserPlan = (params) => http.get('/love/user-plan/page', {params})
|
||||
|
||||
// 查询全部会员套餐
|
||||
export const listUserPlan = (params) => http.get('/love/user-plan', {params})
|
||||
|
||||
// 查询会员套餐信息
|
||||
export const getUserPlan = (id) => http.get('/love/user-plan/' + id)
|
||||
|
||||
// 修改会员套餐
|
||||
export const addUserPlan = (data) => http.post('/love/user-plan', data)
|
||||
|
||||
// 删除会员套餐
|
||||
export const removeUserPlan = (id) => http.delete('/love/user-plan/' + id)
|
||||
|
||||
export default {
|
||||
pageUserPlan,
|
||||
listUserPlan,
|
||||
getUserPlan,
|
||||
addUserPlan,
|
||||
removeUserPlan
|
||||
}
|
||||
Reference in New Issue
Block a user