This commit is contained in:
linfso 2024-09-01 07:37:07 +08:00
parent abc953ae63
commit 4859199679

View File

@ -403,7 +403,7 @@ public class Oms2cWaybillController extends BaseController
String email = sysOmsUser0.getEmail();
if(StringUtils.isEmpty(email)){
return AjaxResult.error("月结卡号对应邮箱不存在,不支持绑定!");
// return AjaxResult.error("月结卡号对应邮箱不存在,不支持绑定!");
}
// 生成流水号
@ -428,11 +428,13 @@ public class Oms2cWaybillController extends BaseController
// 插入短信记录
EmisEmailSendRecord emisEmailSendRecord = new EmisEmailSendRecord();
emisEmailSendRecord.setEmail(email);
String sendMsg=getLoginUser().getUser().getCustomerName()+" 申请绑定月结账号:"+monthPayCode+",验证码是"+msgCode;
// String sendMsg=getLoginUser().getUser().getCustomerName()+" 申请绑定月结账号:"+monthPayCode+",验证码是"+msgCode;
String sendMsg=getLoginUser().getUser().getCustomerName()+" 申请绑定月结账号:"+monthPayCode+",输入月结密码完成绑定。";
emisEmailSendRecord.setContent(sendMsg);
emisEmailSendRecordService.insertEmisEmailSendRecord(emisEmailSendRecord);
return AjaxResult.success("你已申请月结账号 "+monthPayCode+" 绑定,联系邮箱"+email+"收取验证码验证。");
// return AjaxResult.success("你已申请月结账号 "+monthPayCode+" 绑定,联系邮箱"+email+"收取验证码验证。");
return AjaxResult.success("你已申请月结账号 "+monthPayCode+" 绑定,输入月结密码完成绑定。");
}catch (Exception ex){