mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-14 11:05:06 +08:00
公众号开发
This commit is contained in:
54
yudao-ui-admin/src/api/wechatMp/wxAccountFansTag.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxAccountFansTag.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建粉丝标签关联
|
||||
export function createWxAccountFansTag(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新粉丝标签关联
|
||||
export function updateWxAccountFansTag(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除粉丝标签关联
|
||||
export function deleteWxAccountFansTag(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝标签关联
|
||||
export function getWxAccountFansTag(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝标签关联分页
|
||||
export function getWxAccountFansTagPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出粉丝标签关联 Excel
|
||||
export function exportWxAccountFansTagExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-account-fans-tag/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxFansMsg.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxFansMsg.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建粉丝消息表
|
||||
export function createWxFansMsg(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新粉丝消息表
|
||||
export function updateWxFansMsg(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除粉丝消息表
|
||||
export function deleteWxFansMsg(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝消息表
|
||||
export function getWxFansMsg(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝消息表 分页
|
||||
export function getWxFansMsgPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出粉丝消息表 Excel
|
||||
export function exportWxFansMsgExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxFansMsgRes.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxFansMsgRes.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建回复粉丝消息历史表
|
||||
export function createWxFansMsgRes(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新回复粉丝消息历史表
|
||||
export function updateWxFansMsgRes(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除回复粉丝消息历史表
|
||||
export function deleteWxFansMsgRes(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得回复粉丝消息历史表
|
||||
export function getWxFansMsgRes(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得回复粉丝消息历史表 分页
|
||||
export function getWxFansMsgResPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出回复粉丝消息历史表 Excel
|
||||
export function exportWxFansMsgResExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-msg-res/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxFansTag.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxFansTag.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建粉丝标签
|
||||
export function createWxFansTag(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新粉丝标签
|
||||
export function updateWxFansTag(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除粉丝标签
|
||||
export function deleteWxFansTag(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝标签
|
||||
export function getWxFansTag(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得粉丝标签分页
|
||||
export function getWxFansTagPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出粉丝标签 Excel
|
||||
export function exportWxFansTagExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-fans-tag/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxMediaUpload.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxMediaUpload.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建微信素材上传表
|
||||
export function createWxMediaUpload(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新微信素材上传表
|
||||
export function updateWxMediaUpload(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除微信素材上传表
|
||||
export function deleteWxMediaUpload(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得微信素材上传表
|
||||
export function getWxMediaUpload(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得微信素材上传表 分页
|
||||
export function getWxMediaUploadPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出微信素材上传表 Excel
|
||||
export function exportWxMediaUploadExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-media-upload/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxMenu.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxMenu.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建微信菜单
|
||||
export function createWxMenu(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新微信菜单
|
||||
export function updateWxMenu(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除微信菜单
|
||||
export function deleteWxMenu(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得微信菜单
|
||||
export function getWxMenu(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得微信菜单分页
|
||||
export function getWxMenuPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出微信菜单 Excel
|
||||
export function exportWxMenuExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-menu/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxNewsArticleItem.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxNewsArticleItem.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建图文消息文章列表表
|
||||
export function createWxNewsArticleItem(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新图文消息文章列表表
|
||||
export function updateWxNewsArticleItem(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除图文消息文章列表表
|
||||
export function deleteWxNewsArticleItem(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得图文消息文章列表表
|
||||
export function getWxNewsArticleItem(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得图文消息文章列表表 分页
|
||||
export function getWxNewsArticleItemPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出图文消息文章列表表 Excel
|
||||
export function exportWxNewsArticleItemExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-article-item/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxNewsTemplate.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxNewsTemplate.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建图文消息模板
|
||||
export function createWxNewsTemplate(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新图文消息模板
|
||||
export function updateWxNewsTemplate(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除图文消息模板
|
||||
export function deleteWxNewsTemplate(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得图文消息模板
|
||||
export function getWxNewsTemplate(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得图文消息模板分页
|
||||
export function getWxNewsTemplatePage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出图文消息模板 Excel
|
||||
export function exportWxNewsTemplateExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-news-template/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxReceiveText.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxReceiveText.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建回复关键字
|
||||
export function createWxReceiveText(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新回复关键字
|
||||
export function updateWxReceiveText(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除回复关键字
|
||||
export function deleteWxReceiveText(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得回复关键字
|
||||
export function getWxReceiveText(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得回复关键字分页
|
||||
export function getWxReceiveTextPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出回复关键字 Excel
|
||||
export function exportWxReceiveTextExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-receive-text/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxSubscribeText.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxSubscribeText.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建关注欢迎语
|
||||
export function createWxSubscribeText(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新关注欢迎语
|
||||
export function updateWxSubscribeText(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除关注欢迎语
|
||||
export function deleteWxSubscribeText(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得关注欢迎语
|
||||
export function getWxSubscribeText(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得关注欢迎语分页
|
||||
export function getWxSubscribeTextPage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出关注欢迎语 Excel
|
||||
export function exportWxSubscribeTextExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-subscribe-text/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
54
yudao-ui-admin/src/api/wechatMp/wxTextTemplate.js
Normal file
54
yudao-ui-admin/src/api/wechatMp/wxTextTemplate.js
Normal file
@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 创建文本模板
|
||||
export function createWxTextTemplate(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新文本模板
|
||||
export function updateWxTextTemplate(data) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除文本模板
|
||||
export function deleteWxTextTemplate(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得文本模板
|
||||
export function getWxTextTemplate(id) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获得文本模板分页
|
||||
export function getWxTextTemplatePage(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出文本模板 Excel
|
||||
export function exportWxTextTemplateExcel(query) {
|
||||
return request({
|
||||
url: '/wechatMp/wx-text-template/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user