From 39e61bf929ba61ea2e7ff0fd8fea02cd8df4c5ab Mon Sep 17 00:00:00 2001 From: aeizzz Date: Fri, 24 Feb 2023 16:01:06 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20Fixing=20a=20bug.=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E7=AE=A1=E7=90=86=E5=92=8C=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mp/wx-account-tag.ts | 14 +- src/api/mp/wx-fans-msg.ts | 18 +- src/views/mp/wx-account-tag/form.vue | 95 +++++++ src/views/mp/wx-account-tag/i18n/en.ts | 18 ++ src/views/mp/wx-account-tag/i18n/zh-cn.ts | 18 ++ src/views/mp/wx-account-tag/index.vue | 160 +++++++++++ src/views/mp/wx-fans-msg/form.vue | 315 ++++++++++++++++++++++ src/views/mp/wx-fans-msg/i18n/en.ts | 64 +++++ src/views/mp/wx-fans-msg/i18n/zh-cn.ts | 64 +++++ src/views/mp/wx-fans-msg/index.vue | 164 +++++++++++ 10 files changed, 914 insertions(+), 16 deletions(-) create mode 100644 src/views/mp/wx-account-tag/form.vue create mode 100644 src/views/mp/wx-account-tag/i18n/en.ts create mode 100644 src/views/mp/wx-account-tag/i18n/zh-cn.ts create mode 100644 src/views/mp/wx-account-tag/index.vue create mode 100644 src/views/mp/wx-fans-msg/form.vue create mode 100644 src/views/mp/wx-fans-msg/i18n/en.ts create mode 100644 src/views/mp/wx-fans-msg/i18n/zh-cn.ts create mode 100644 src/views/mp/wx-fans-msg/index.vue diff --git a/src/api/mp/wx-account-tag.ts b/src/api/mp/wx-account-tag.ts index e32a44cb..72d59416 100644 --- a/src/api/mp/wx-account-tag.ts +++ b/src/api/mp/wx-account-tag.ts @@ -19,7 +19,7 @@ import request from '/@/utils/request'; export function getPage(query) { return request({ - url: '/mp/wx-account-tag/page', + url: '/admin/wx-account-tag/page', method: 'get', params: query }) @@ -27,16 +27,16 @@ export function getPage(query) { export function addObj(obj) { return request({ - url: '/mp/wx-account-tag', + url: '/admin/wx-account-tag', method: 'post', data: obj }) } -export function delObj(obj) { +export function delObjs(obj) { return request({ - url: '/mp/wx-account-tag', + url: '/admin/wx-account-tag', method: 'delete', data: obj }) @@ -44,7 +44,7 @@ export function delObj(obj) { export function putObj(obj) { return request({ - url: '/mp/wx-account-tag', + url: '/admin/wx-account-tag', method: 'put', data: obj }) @@ -52,14 +52,14 @@ export function putObj(obj) { export function sync(appId) { return request({ - url: '/mp/wx-account-tag/sync/' + appId, + url: '/admin/wx-account-tag/sync/' + appId, method: 'post' }) } export function list(appId) { return request({ - url: '/mp/wx-account-tag/list/', + url: '/admin/wx-account-tag/list/', method: 'get', params: { 'wxAccountAppid': appId } }) diff --git a/src/api/mp/wx-fans-msg.ts b/src/api/mp/wx-fans-msg.ts index c47a4845..8692dfd9 100644 --- a/src/api/mp/wx-fans-msg.ts +++ b/src/api/mp/wx-fans-msg.ts @@ -19,7 +19,7 @@ import request from '/@/utils/request'; export function fetchList(query) { return request({ - url: '/mp/wx-fans-msg/page', + url: '/admin/wx-fans-msg/page', method: 'get', params: query }) @@ -27,7 +27,7 @@ export function fetchList(query) { export function addObj(obj) { return request({ - url: '/mp/wx-fans-msg', + url: '/admin/wx-fans-msg', method: 'post', data: obj }) @@ -35,21 +35,21 @@ export function addObj(obj) { export function getObj(id) { return request({ - url: '/mp/wxfansmsg/' + id, + url: '/admin/wxfansmsg/' + id, method: 'get' }) } -export function delObj(id) { +export function delObjs(id) { return request({ - url: '/mp/wxfansmsg/' + id, + url: '/admin/wxfansmsg/' + id, method: 'delete' }) } export function putObj(obj) { return request({ - url: '/mp/wxfansmsg', + url: '/admin/wxfansmsg', method: 'put', data: obj }) @@ -57,7 +57,7 @@ export function putObj(obj) { export function fetchResList(query) { return request({ - url: '/mp/wx-fans-msg/page', + url: '/admin/wx-fans-msg/page', method: 'get', params: query }) @@ -65,7 +65,7 @@ export function fetchResList(query) { export function addResObj(obj) { return request({ - url: '/mp/wx-fans-msg', + url: '/admin/wx-fans-msg', method: 'post', data: obj }) @@ -73,7 +73,7 @@ export function addResObj(obj) { export function delResObj(id) { return request({ - url: '/mp/wx-fans-msg/' + id, + url: '/admin/wx-fans-msg/' + id, method: 'delete' }) } diff --git a/src/views/mp/wx-account-tag/form.vue b/src/views/mp/wx-account-tag/form.vue new file mode 100644 index 00000000..a223b480 --- /dev/null +++ b/src/views/mp/wx-account-tag/form.vue @@ -0,0 +1,95 @@ + + + diff --git a/src/views/mp/wx-account-tag/i18n/en.ts b/src/views/mp/wx-account-tag/i18n/en.ts new file mode 100644 index 00000000..4eb6874a --- /dev/null +++ b/src/views/mp/wx-account-tag/i18n/en.ts @@ -0,0 +1,18 @@ +export default { + wxAccountTag: { + index: 'index', + importwxAccountTagTip: 'import WxAccountTag', + id: 'id', + tag: 'tag', + wxAccountId: 'wxAccountId', + wxAccountName: 'wxAccountName', + wxAccountAppid: 'wxAccountAppid', + tagId: 'tagId', + inputIdTip: 'input id', + inputTagTip: 'input tag', + inputWxAccountIdTip: 'input wxAccountId', + inputWxAccountNameTip: 'input wxAccountName', + inputWxAccountAppidTip: 'input wxAccountAppid', + inputTagIdTip: 'input tagId', + } +} diff --git a/src/views/mp/wx-account-tag/i18n/zh-cn.ts b/src/views/mp/wx-account-tag/i18n/zh-cn.ts new file mode 100644 index 00000000..7d7903db --- /dev/null +++ b/src/views/mp/wx-account-tag/i18n/zh-cn.ts @@ -0,0 +1,18 @@ +export default { + wxAccountTag: { + index: '序号', + importwxAccountTagTip: '导入标签管理', + id: '主键', + tag: '标签', + wxAccountId: '微信账号ID', + wxAccountName: '微信账号名称', + wxAccountAppid: 'appID', + tagId: '标签ID', + inputIdTip: '请输入主键', + inputTagTip: '请输入标签', + inputWxAccountIdTip: '请输入微信账号ID', + inputWxAccountNameTip: '请输入微信账号名称', + inputWxAccountAppidTip: '请输入appID', + inputTagIdTip: '请输入标签ID', + } +} diff --git a/src/views/mp/wx-account-tag/index.vue b/src/views/mp/wx-account-tag/index.vue new file mode 100644 index 00000000..e13732c4 --- /dev/null +++ b/src/views/mp/wx-account-tag/index.vue @@ -0,0 +1,160 @@ + + + diff --git a/src/views/mp/wx-fans-msg/form.vue b/src/views/mp/wx-fans-msg/form.vue new file mode 100644 index 00000000..9c087042 --- /dev/null +++ b/src/views/mp/wx-fans-msg/form.vue @@ -0,0 +1,315 @@ + + + \ No newline at end of file diff --git a/src/views/mp/wx-fans-msg/i18n/en.ts b/src/views/mp/wx-fans-msg/i18n/en.ts new file mode 100644 index 00000000..b591aac2 --- /dev/null +++ b/src/views/mp/wx-fans-msg/i18n/en.ts @@ -0,0 +1,64 @@ +export default { + wxFansMsg: { + index: 'index', + importwxMsgTip: 'import WxMsg', + id: 'id', + appName: 'appName', + appLogo: 'appLogo', + wxUserId: 'wxUserId', + nickName: 'nickName', + headimgUrl: 'headimgUrl', + type: 'type', + repType: 'repType', + repEvent: 'repEvent', + repContent: 'repContent', + repMediaId: 'repMediaId', + repName: 'repName', + repDesc: 'repDesc', + repUrl: 'repUrl', + repHqUrl: 'repHqUrl', + content: 'content', + repThumbMediaId: 'repThumbMediaId', + repThumbUrl: 'repThumbUrl', + repLocationX: 'repLocationX', + repLocationY: 'repLocationY', + repScale: 'repScale', + readFlag: 'readFlag', + appId: 'appId', + openId: 'openId', + remark: 'remark', + delFlag: 'delFlag', + createTime: 'createTime', + updateTime: 'updateTime', + tenantId: 'tenantId', + inputIdTip: 'input id', + inputAppNameTip: 'input appName', + inputAppLogoTip: 'input appLogo', + inputWxUserIdTip: 'input wxUserId', + inputNickNameTip: 'input nickName', + inputHeadimgUrlTip: 'input headimgUrl', + inputTypeTip: 'input type', + inputRepTypeTip: 'input repType', + inputRepEventTip: 'input repEvent', + inputRepContentTip: 'input repContent', + inputRepMediaIdTip: 'input repMediaId', + inputRepNameTip: 'input repName', + inputRepDescTip: 'input repDesc', + inputRepUrlTip: 'input repUrl', + inputRepHqUrlTip: 'input repHqUrl', + inputContentTip: 'input content', + inputRepThumbMediaIdTip: 'input repThumbMediaId', + inputRepThumbUrlTip: 'input repThumbUrl', + inputRepLocationXTip: 'input repLocationX', + inputRepLocationYTip: 'input repLocationY', + inputRepScaleTip: 'input repScale', + inputReadFlagTip: 'input readFlag', + inputAppIdTip: 'input appId', + inputOpenIdTip: 'input openId', + inputRemarkTip: 'input remark', + inputDelFlagTip: 'input delFlag', + inputCreateTimeTip: 'input createTime', + inputUpdateTimeTip: 'input updateTime', + inputTenantIdTip: 'input tenantId', + } +} diff --git a/src/views/mp/wx-fans-msg/i18n/zh-cn.ts b/src/views/mp/wx-fans-msg/i18n/zh-cn.ts new file mode 100644 index 00000000..47968a7e --- /dev/null +++ b/src/views/mp/wx-fans-msg/i18n/zh-cn.ts @@ -0,0 +1,64 @@ +export default { + wxFansMsg: { + index: '序号', + importwxMsgTip: '导入微信消息', + id: '主键', + appName: '公众号名称', + appLogo: '公众号logo', + wxUserId: '微信用户ID', + nickName: '微信用户昵称', + headimgUrl: '微信用户头像', + type: '消息分类', + repType: '消息类型', + repEvent: '事件类型', + repContent: '回复类型文本保存文字、地理位置信息', + repMediaId: '回复类型', + repName: '回复的素材名、视频和音乐的标题', + repDesc: '视频和音乐的描述', + repUrl: '链接', + repHqUrl: '高质量链接', + content: '图文消息的内容', + repThumbMediaId: '缩略图的媒体id', + repThumbUrl: '缩略图url', + repLocationX: '地理位置维度', + repLocationY: '地理位置经度', + repScale: '地图缩放大小', + readFlag: '已读标记', + appId: '公众号ID', + openId: '微信唯一标识', + remark: '备注', + delFlag: '逻辑删除标记(0:显示;1:隐藏)', + createTime: '创建时间', + updateTime: '更新时间', + tenantId: '租户ID', + inputIdTip: '请输入主键', + inputAppNameTip: '请输入公众号名称', + inputAppLogoTip: '请输入公众号logo', + inputWxUserIdTip: '请输入微信用户ID', + inputNickNameTip: '请输入微信用户昵称', + inputHeadimgUrlTip: '请输入微信用户头像', + inputTypeTip: '请输入消息分类', + inputRepTypeTip: '请输入消息类型', + inputRepEventTip: '请输入事件类型', + inputRepContentTip: '请输入回复类型文本保存文字、地理位置信息', + inputRepMediaIdTip: '请输入回复类型', + inputRepNameTip: '请输入回复的素材名、视频和音乐的标题', + inputRepDescTip: '请输入视频和音乐的描述', + inputRepUrlTip: '请输入链接', + inputRepHqUrlTip: '请输入高质量链接', + inputContentTip: '请输入图文消息的内容', + inputRepThumbMediaIdTip: '请输入缩略图的媒体id', + inputRepThumbUrlTip: '请输入缩略图url', + inputRepLocationXTip: '请输入地理位置维度', + inputRepLocationYTip: '请输入地理位置经度', + inputRepScaleTip: '请输入地图缩放大小', + inputReadFlagTip: '请输入已读标记(1:是;0:否)', + inputAppIdTip: '请输入公众号ID', + inputOpenIdTip: '请输入微信唯一标识', + inputRemarkTip: '请输入备注', + inputDelFlagTip: '请输入逻辑删除标记(0:显示;1:隐藏)', + inputCreateTimeTip: '请输入创建时间', + inputUpdateTimeTip: '请输入更新时间', + inputTenantIdTip: '请输入租户ID', + } +} diff --git a/src/views/mp/wx-fans-msg/index.vue b/src/views/mp/wx-fans-msg/index.vue new file mode 100644 index 00000000..0ef4bbbb --- /dev/null +++ b/src/views/mp/wx-fans-msg/index.vue @@ -0,0 +1,164 @@ + + +