From faae303cd25f90b1c732b6bc737ede8b8ab714a0 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期一, 27 九月 2021 16:56:28 +0800 Subject: [PATCH] Merge branch 'test' into 'test_bak' --- 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