From 75d2f5d8a0124041caad304cc8a3b3615f5d2de6 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期六, 21 十月 2023 14:16:47 +0800 Subject: [PATCH] 新增文章接口 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/jinhui/JinhuiCommunityService.java | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 88 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/jinhui/JinhuiCommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/jinhui/JinhuiCommunityService.java index 0124890..639ae09 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/jinhui/JinhuiCommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/jinhui/JinhuiCommunityService.java @@ -733,6 +733,94 @@ public R expurgateDataCategories(@RequestParam("id") String id); + /********************************************************************************************************* + * + * + * 金汇体验活动 + * + * + **********************************************************************************************************/ + + /** + * 单个详情 + * @param id + * @return + */ + @GetMapping("/JinhuiExperience/experienceGetDetails") + public R experienceGetDetails(@RequestParam("id") String id); + /** + * 新增 + * @param + * @return + */ + @PostMapping("/JinhuiExperience/experienceAddData") + public R experienceAddData(@RequestBody JinhuiExperienceActivityVO item); + + /** + * 编辑 + * @param item + * @return + */ + @PostMapping("/JinhuiExperience/experienceEditData") + public R experienceEditData(@RequestBody JinhuiExperienceActivityVO item); + + /** + * 删除 + * @param id + * @return + */ + @GetMapping("/JinhuiExperience/experienceExpurgateData") + public R experienceExpurgateData(@RequestParam("id") String id); + + + /****************************************************************************************************** + * + * 金汇文章 + * + *******************************************************************************************************/ + /** + * 分页查询 + * @param + * @return + */ + @GetMapping("/JinhuiArticle/articleGetDetails") + public R articleGetList(@RequestParam("pageNum") int pageNum, + @RequestParam("pageSize") int pageSize, + @RequestParam("articleType") String articleType); + + /** + * 详情 + * @param id + * @return + */ + @GetMapping("/JinhuiArticle/articleGetDetails") + public R articleGetDetails(@RequestParam("id") String id); + + /** + * 新增 + * @param + * @return + */ + @PostMapping("/JinhuiArticle/articleAddData") + public R articleAddData(@RequestBody JinhuiArticleManagementVO item); + + /** + * 编辑 + * @param item + * @return + */ + @PostMapping("/JinhuiArticle/articleEditData") + public R articleEditData(@RequestBody JinhuiArticleManagementVO item); + + /** + * 删除 + * @param id + * @return + */ + @GetMapping("/JinhuiArticle/articleExpurgateData") + public R articleExpurgateData(@RequestParam("id") String id); + + } -- Gitblit v1.7.1