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
}
