删除钉钉消息

This commit is contained in:
2025-10-30 16:07:30 +08:00
parent 68386e531f
commit 251c6668c4
2 changed files with 0 additions and 9 deletions
@@ -573,9 +573,6 @@ public class SaleLeadsController {
System.out.println(mobile + " 验证码 【"+ code+"】");
//测试先去掉发短信
smsService.send(model.getMobile(), "【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
if(FangjiaConfig.getConfig().isTestEnvironment()){
DingDingMessageUtil.sendTextMessage("【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
}
resultModel.setResult(Message.RESULT_SUCCESS);
CacheUtils.putValue(CacheUtils.CachePolicyEnum.TINY, FangJiaUserService.class, mobile + "_" + type, code);
CacheUtils.putValue(CacheUtils.CachePolicyEnum.TINY, FangJiaUserService.class, mobile, new Date().getTime());
@@ -168,9 +168,6 @@ public class UserController {
String code = fangJiaUserService.randomCode();
try {
smsService.send(model.getMobile(), "【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
if(FangjiaConfig.getConfig().isTestEnvironment()){
DingDingMessageUtil.sendTextMessage("【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
}
smsSendLog = new SmsSendLog();
smsSendLog.setContent("【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
smsSendLog.setMobile(model.getMobile());
@@ -520,9 +517,6 @@ public class UserController {
CacheUtils.putValue(CachePolicyEnum.TODAY, FangJiaUserService.class, ip, ipVisitCount+1);
smsService.send(model.getMobile(), "【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
if(FangjiaConfig.getConfig().isTestEnvironment()){
DingDingMessageUtil.sendTextMessage("【房价网】你的验证码是" + code + ",验证码5分钟内有效,请立即验证。");
}
resultModel.setResult(Message.RESULT_SUCCESS);
CacheUtils.putValue(CachePolicyEnum.TINY, FangJiaUserService.class, mobile + "_" + type, code);
CacheUtils.putValue(CachePolicyEnum.TINY, FangJiaUserService.class, mobile, new Date().getTime());