第一次提交

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

20
api/user-follow.js Normal file
View File

@@ -0,0 +1,20 @@
import http from './index.js';
// 分页查询关注记录
export const pageFollow = (params) => http.get('/shop/user-follow/page', {params})
// 查询全部关注记录
export const listFollow = (params) => http.get('/shop/user-follow', {params})
// 修改关注记录
export const addFollow = (data) => http.post('/shop/user-follow', data)
// 删除关注记录
export const removeFollow = (id) => http.delete('/shop/user-follow/' + id)
export default {
pageFollow,
listFollow,
addFollow,
removeFollow
}