第一次提交

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

24
api/love-user-plan-log.js Normal file
View File

@@ -0,0 +1,24 @@
import http from './index.js';
// 分页查询购买记录
export const pageUserPlanLog = (params) => http.get('/love/user-plan-log/page', {params})
// 查询全部购买记录
export const listUserPlanLog = (params) => http.get('/love/user-plan-log', {params})
// 修改购买记录
export const addUserPlanLog = (data) => http.post('/love/user-plan-log', data)
// 删除购买记录
export const removeUserPlanLog = (id) => http.delete('/love/user-plan-log/' + id)
// 创建会员订单记录
export const getPlanByPriceId = (priceId) => http.get('/love/user-plan-log/getPlanByPriceId/' + priceId)
export default {
pageUserPlanLog,
listUserPlanLog,
addUserPlanLog,
removeUserPlanLog,
getPlanByPriceId
}