huanghongfa
2022-03-07 20830ae1a5907bf02d00db2f6fcd626e50aa875c
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);
    }
}