From f1cee812a4cd17e02895a00bbabb009b1b4e67e9 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期三, 28 四月 2021 16:51:47 +0800 Subject: [PATCH] 邻里圈模块接口编写 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleBrowseServiceImpl.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleBrowseServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleBrowseServiceImpl.java index 8dcdeeb..a6cf3c8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleBrowseServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleBrowseServiceImpl.java @@ -16,4 +16,17 @@ @Service public class ComActNeighborCircleBrowseServiceImpl extends ServiceImpl<ComActNeighborCircleBrowseDAO, ComActNeighborCircleBrowseDO> implements ComActNeighborCircleBrowseService { + /** + * 添加邻里圈浏览记录 + * @param neighborId 邻里圈id + * @param userId 用户id + */ + public void addBrowseRecord(Long neighborId,Long userId){ + ComActNeighborCircleBrowseDO circleBrowseDO = new ComActNeighborCircleBrowseDO(); + circleBrowseDO.setNeighborId(neighborId); + circleBrowseDO.setUserId(userId); + this.baseMapper.insert(circleBrowseDO); + } + + } -- Gitblit v1.7.1