54 lines
991 B
JavaScript
54 lines
991 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询关注列表列表
|
||
|
export function listFollowUser(query) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询关注列表详细
|
||
|
export function getFollowUser(id) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增关注列表
|
||
|
export function addFollowUser(data) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改关注列表
|
||
|
export function updateFollowUser(data) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除关注列表
|
||
|
export function delFollowUser(id) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除关注列表
|
||
|
export function delFollowUserByFollowUser(data) {
|
||
|
return request({
|
||
|
url: '/followUser/followUser',
|
||
|
method: 'delete',
|
||
|
data: data
|
||
|
})
|
||
|
}
|