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/McsInformationService.java | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java index 8d7317b..b945f20 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java @@ -1,6 +1,10 @@ package com.panzhihua.service_community.service; import com.baomidou.mybatisplus.extension.service.IService; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsInfoDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsInformationDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForInfoDTO; +import com.panzhihua.common.model.vos.R; import com.panzhihua.service_community.entity.McsInformation; /** @@ -11,4 +15,68 @@ */ public interface McsInformationService extends IService<McsInformation> { + /** + * 分页查询戳戳资讯 + * @param pageMcsInformationDTO + * @return + */ + R pageMcsInfo(PageMcsInformationDTO pageMcsInformationDTO); + + /** + * 上架/下架戳戳资讯 + * @param setShelfForInfoDTO + * @return + */ + R setShelfForMcsInfo(SetShelfForInfoDTO setShelfForInfoDTO); + + /** + * 删除戳戳资讯 + * @param infoId + * @param userId + * @return + */ + R deleteMcsInfo(Long infoId, Long userId); + + /** + * 戳戳资讯顶部统计数据 + * @param userId + * @return + */ + R getTopStatistics(Long userId); + + /** + * 新增戳戳资讯 + * @param mcsInfoDTO + * @return + */ + R addMcsInfo(McsInfoDTO mcsInfoDTO); + + /** + * 编辑戳戳资讯 + * @param mcsInfoDTO + * @return + */ + R putMcsInfo(McsInfoDTO mcsInfoDTO); + + /** + * 发布戳戳资讯 + * @param infoId + * @param userId + * @return + */ + R publishMcsInfo(Long infoId, Long userId); + + /** + * h5分页查询戳戳资讯 + * @param pageMcsInformationDTO + * @return + */ + R pageH5McsInfo(PageMcsInformationDTO pageMcsInformationDTO); + + /** + * 资讯详情 + * @param infoId + * @return + */ + R getMcsInfo(Long infoId); } -- Gitblit v1.7.1