From bc870434c2721da7040971a272e4e8142f495a21 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 13 Jan 2023 07:54:09 +0800 Subject: [PATCH] =?UTF-8?q?mp=EF=BC=9A=E5=88=9D=E5=A7=8B=E5=8C=96=E3=80=90?= =?UTF-8?q?=E5=9B=BE=E6=96=87=E8=8D=89=E7=A8=BF=E7=AE=B1=E3=80=91=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/news/MpDraftController.java | 2 +- .../mp/components/wx-material-select/main.vue | 2 +- yudao-ui-admin/src/views/mp/draft/index.vue | 784 ++++++++++++++++++ 3 files changed, 786 insertions(+), 2 deletions(-) create mode 100644 yudao-ui-admin/src/views/mp/draft/index.vue diff --git a/yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpDraftController.java b/yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpDraftController.java index 2744f7ba5..93c0d92a8 100644 --- a/yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpDraftController.java +++ b/yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/news/MpDraftController.java @@ -36,7 +36,7 @@ public class MpDraftController { @GetMapping("/page") @ApiOperation("获得草稿分页") public CommonResult> getDraftPage(MpDraftPageReqVO reqVO) { - // 从公众号查询已发布的图文列表 + // 从公众号查询草稿箱 WxMpService mpService = mpServiceFactory.getRequiredMpService(reqVO.getAccountId()); WxMpDraftList draftList; try { diff --git a/yudao-ui-admin/src/views/mp/components/wx-material-select/main.vue b/yudao-ui-admin/src/views/mp/components/wx-material-select/main.vue index 24b35db3e..547bc63e1 100644 --- a/yudao-ui-admin/src/views/mp/components/wx-material-select/main.vue +++ b/yudao-ui-admin/src/views/mp/components/wx-material-select/main.vue @@ -106,7 +106,7 @@ import WxVideoPlayer from '@/views/mp/components/wx-video-play/main.vue'; import { getMaterialPage } from "@/api/mp/material"; import { getFreePublishPage } from "@/api/mp/freePublish"; - import {getDraftPage} from "@/api/mp/draft"; + import { getDraftPage } from "@/api/mp/draft"; export default { name: "wxMaterialSelect", diff --git a/yudao-ui-admin/src/views/mp/draft/index.vue b/yudao-ui-admin/src/views/mp/draft/index.vue new file mode 100644 index 000000000..9e9da9fbd --- /dev/null +++ b/yudao-ui-admin/src/views/mp/draft/index.vue @@ -0,0 +1,784 @@ + + + + + +