Browse Source

fix 去掉免登录

zoujiajian 1 year ago
parent
commit
0223740f3d

+ 1 - 7
netflix-common/src/main/java/com/cyksj/common/constant/Constant.java

@@ -505,13 +505,7 @@ public interface Constant {
 	/**
 	 * 引流欢迎语模板
 	 */
-	String YL_MSG_TEMPLATE = "嗨,亲爱的朋友,欢迎加入银河大家庭,我\n" +
-			"是银河福利官,为了感谢你的加入,特为你\n" +
-			"准备了%s,点击下方链接即可领取!\n" +
-			"此外,后续有任何福利信息也会第一时间通\n" +
-			"知,不让你错过任何优惠!\n" +
-			"最后,售后问题请直接在官网联系客服,专\n" +
-			"业人员随时为你解答,此号不售后!";
+	String YL_MSG_TEMPLATE = "嗨,亲爱的朋友,欢迎加入银河大家庭,我是银河福利官,为了感谢你的加入,特为你准备了%s,点击下方链接即可领取!此外,后续有任何福利信息也会第一时间通知,不让你错过任何优惠!最后,售后问题请直接在官网联系客服,专业人员随时为你解答,此号不售后!";
 
 	/**
 	 * 引流 95折图片链接

+ 7 - 0
netflix-dao/src/main/java/com/cyksj/model/request/TempCorpFollowCodeReq.java

@@ -19,4 +19,11 @@ public class TempCorpFollowCodeReq {
 	private Boolean yl;
 
 	private String t;
+
+	/**
+	 * 登录方式
+	 * 0.微信
+	 * 1.其他
+	 */
+	private Integer s;
 }

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

@@ -994,7 +994,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 				}
 //				couponCommonService.sendCouponToUser(userId, couponId, null, null, null, CouponUser.Channel.yl);
 				if (couponId != null) {
-					String url = "https://nf.video?t=" + re.getT() + "&ylCid=" + couponId;
+					String url = "https://nf.video?sign=" + re.getS() + "&ylCid=" + couponId;
 					sendCorpWxYlWelcomeMsg(followId, username, welcomeCode, msg, tilte, url, picUlr, userId, couponId);
 				}
 			}