fix(粉丝标签管理): 增、删、改、查

This commit is contained in:
fengdan
2022-06-23 15:26:31 +08:00
parent 977cc19fe3
commit 372b4a70aa
10 changed files with 317 additions and 309 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 创建粉丝标签
export function createWxFansTag(data) {
return request({
url: '/wechatMp/wx-fans-tag/create',
url: '/wechatMp/fans-tag/create',
method: 'post',
data: data
})
@ -12,7 +12,7 @@ export function createWxFansTag(data) {
// 更新粉丝标签
export function updateWxFansTag(data) {
return request({
url: '/wechatMp/wx-fans-tag/update',
url: '/wechatMp/fans-tag/update',
method: 'put',
data: data
})
@ -21,7 +21,7 @@ export function updateWxFansTag(data) {
// 删除粉丝标签
export function deleteWxFansTag(id) {
return request({
url: '/wechatMp/wx-fans-tag/delete?id=' + id,
url: '/wechatMp/fans-tag/delete?id=' + id,
method: 'delete'
})
}
@ -29,15 +29,15 @@ export function deleteWxFansTag(id) {
// 获得粉丝标签
export function getWxFansTag(id) {
return request({
url: '/wechatMp/wx-fans-tag/get?id=' + id,
url: '/wechatMp/fans-tag/get?id=' + id,
method: 'get'
})
}
// 获得粉丝标签分页
export function getWxFansTagPage(query) {
export function getWxFansTagList(query) {
return request({
url: '/wechatMp/wx-fans-tag/page',
url: '/wechatMp/fans-tag/list',
method: 'get',
params: query
})
@ -46,7 +46,7 @@ export function getWxFansTagPage(query) {
// 导出粉丝标签 Excel
export function exportWxFansTagExcel(query) {
return request({
url: '/wechatMp/wx-fans-tag/export-excel',
url: '/wechatMp/fans-tag/export-excel',
method: 'get',
params: query,
responseType: 'blob'