第一次提交

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/user-like.js Normal file
View File

@@ -0,0 +1,24 @@
import http from './index.js';
// 分页查询点赞
export const pageLike = (params) => http.get('/shop/user-like/page', {params})
// 查询全部点赞
export const listLike = (params) => http.get('/shop/user-like', {params})
// 添加点赞
export const addLike = (data) => http.post('/shop/user-like', data)
// 修改点赞
export const updateLike = (data) => http.put('/shop/user-like', data)
// 删除点赞
export const removeLike = (id) => http.delete('/shop/user-like/' + id)
export default {
pageLike,
listLike,
addLike,
removeLike,
updateLike
}