You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
551 B
22 lines
551 B
2 years ago
|
import { defHttp } from '@/utils/http/axios'
|
||
|
|
||
|
// 更新公众号粉丝
|
||
|
export const updateUser = (data) => {
|
||
|
return defHttp.put({ url: '/mp/user/update', data })
|
||
|
}
|
||
|
|
||
|
// 获得公众号粉丝
|
||
|
export const getUser = (id) => {
|
||
|
return defHttp.get({ url: '/mp/user/get?id=' + id })
|
||
|
}
|
||
|
|
||
|
// 获得公众号粉丝分页
|
||
|
export const getUserPage = (params) => {
|
||
|
return defHttp.get({ url: '/mp/user/page', params })
|
||
|
}
|
||
|
|
||
|
// 同步公众号粉丝
|
||
|
export const syncUser = (accountId) => {
|
||
|
return defHttp.post({ url: '/mp/tag/sync?accountId=' + accountId })
|
||
|
}
|