mitao
2025-01-14 4ea102e9177923f091412bd0c261d651c51725b9
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);
    }