diff --git a/README.md b/README.md index 827c5b3..3f2d2f3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -83,4 +83,15 @@ feat `2022.9.14` feat - 添加文章 - - 富文本编辑器更换为 wangeditor/editor-for-vue \ No newline at end of file + - 富文本编辑器更换为 wangeditor/editor-for-vue + + +## v1.0.4 +`2022.9.17` +feat +- 添加文章 + - 增加 富文本一些基本配置 +- 添加群发 + - 增加 接口对接 +- 群发列表 + - 增加 接口对接 \ No newline at end of file diff --git a/src/api/wechat-fans.js b/src/api/wechat-fans.js new file mode 100644 index 0000000..c1492ac --- /dev/null +++ b/src/api/wechat-fans.js @@ -0,0 +1,67 @@ +/* + * @Date: 2022-09-15 16:40:39 + * @LastEditors: JinxChen + * @LastEditTime: 2022-09-17 16:34:33 + * @FilePath: \TelpoUserManageAdmin\src\api\wechat-fans.js + * @description: + */ +import requestWxFans from '@/utils/request-wx-fans'; +export const APIWechatFans = { + SelfGroups, //获取自定义分组 + getGroupSender, //获取群发列表 + addGroupSender, //添加模板消息群发 + getArticlesGroup, //获取文章列表 + getGroupSenderDetails, //获取单个群发记录 + deleteGroupSender, //删除单个群发记录 +}; +export default APIWechatFans; + + +function SelfGroups(data) { + return requestWxFans({ + url: '/SelfGroups', + method: 'get', + params: data, + }); +} + +function getGroupSender(data) { + return requestWxFans({ + url: '/GroupSender', + method: 'get', + params: data, + }); +} + +function getArticlesGroup(data) { + return requestWxFans({ + url: '/Articles', + method: 'get', + params: data, + }); +} + +function addGroupSender(params) { + return requestWxFans({ + url: '/GroupSender', + method: 'post', + data: params, + }); +} + + +function getGroupSenderDetails(data) { + return requestWxFans({ + url: '/GroupSender/detail', + method: 'get', + params: data, + }); +} + +function deleteGroupSender(data) { + return requestWxFans({ + url: '/GroupSender', + method: 'delete', + params: data, + }); +} diff --git a/src/components/TTable/TTable.vue b/src/components/TTable/TTable.vue index 9e25196..ec524b9 100644 --- a/src/components/TTable/TTable.vue +++ b/src/components/TTable/TTable.vue @@ -1,14 +1,14 @@