From ca4034c3a285f2c22fa19e5eaa88d505b5588c0b Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期三, 29 十二月 2021 10:48:40 +0800 Subject: [PATCH] Merge branch 'master' into test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java index 8ac1930..9beecb3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java @@ -338,4 +338,14 @@ public R timedTaskWriteDiscussViewNumToTable() { return comActDiscussService.writeDiscussViewNumToTable(); } + + /** + * 一起议获取是否有发布权 + * @param comActDiscussDTO + * @return + */ + @PostMapping("discuss/permissions") + public R getDiscussPermissions(@RequestBody ComActDiscussDTO comActDiscussDTO) { + return comActDiscussService.getDiscussPermissions(comActDiscussDTO); + } } -- Gitblit v1.7.1