From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleTopicServiceImpl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleTopicServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleTopicServiceImpl.java index 718949d..7d68d36 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleTopicServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleTopicServiceImpl.java @@ -3,8 +3,10 @@ import java.util.Date; import com.panzhihua.service_community.dao.ComActNeighborCircleDAO; +import com.panzhihua.service_community.dao.ComActNeighborCircleTopicNewMapper; import com.panzhihua.service_community.model.dos.ComActNeighborCircleDO; import org.springframework.beans.BeanUtils; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; @@ -35,6 +37,8 @@ @Resource private ComActNeighborCircleDAO comActNeighborCircleDAO; + @Autowired + private ComActNeighborCircleTopicNewMapper comActNeighborCircleTopicNewMapper; /** * 分页查询邻里圈话题列表 * @@ -107,6 +111,11 @@ return R.ok(this.baseMapper.getNeighborTopicByApp(name)); } + @Override + public R getNeighborTopicByAppNew(String name) { + return R.ok(comActNeighborCircleTopicNewMapper.getNeighborTopicByAppNew(name)); + } + /** * 小程序-用户新增话题 * @param circleTopicAppDTO 请求参数 -- Gitblit v1.7.1