From d6a0c57043e8cc20694a3c678bf8e3a8f28f6499 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 29 五月 2025 11:20:14 +0800
Subject: [PATCH] 新增加用户端接口
---
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
index a590b14..2fcb307 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
@@ -65,8 +65,10 @@
recommendCooperation.setCreateTime(new Date());
if(recommendCooperation.getShopId()!=null){
recommendCooperation.setRecommendedFrom(2);
+ recommendCooperation.setMemberSource("合作商推荐");
}else{
recommendCooperation.setRecommendedFrom(1);
+ recommendCooperation.setMemberSource("小程序");
}
this.save(recommendCooperation);
}
@@ -106,10 +108,8 @@
* @date 2023/6/18 16:47
*/
@Override
- public MgtBulletinBoardVo boardMemberTotal(){
- MgtBulletinBoardVo mgtBulletinBoardVo = new MgtBulletinBoardVo();
- mgtBulletinBoardVo.setCustomToday(recommendCooperationMapper.customToday());
- mgtBulletinBoardVo.setCustomTotal(recommendCooperationMapper.customTotal());
+ public MgtBulletinBoardVo boardMemberTotal(List<Long> userIds){
+ MgtBulletinBoardVo mgtBulletinBoardVo = recommendCooperationMapper.customTotal(userIds);
return mgtBulletinBoardVo;
}
}
--
Gitblit v1.7.1