From eb80b83a3d4a0b59325e90405dc6c687c2904d3a Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期三, 05 一月 2022 14:45:16 +0800 Subject: [PATCH] 商家后台相关代码提交 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 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 89238ef..4a5a4cd 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,7 @@ 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; @@ -35,4 +36,33 @@ * @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); } -- Gitblit v1.7.1