Bladeren bron

Merge branch 'dev' of lyr/patient-co-management into dev

lyr 8 jaren geleden
bovenliggende
commit
2d9483d21f

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/sign/ExpensesRemindService.java

@ -162,7 +162,7 @@ public class ExpensesRemindService extends BaseService {
            if (StringUtils.isNotEmpty(p.getMobile())) {
                isMobileExist = true;
                int result = smsService.sendMsg(p.getMobile(), "厦门市民健康系统】" + doc.getName() + "医生提醒您:为完成家庭医生签约," +
                int result = smsService.sendMsg(p.getMobile(), doc.getName() + "医生提醒您:为完成家庭医生签约," +
                        "尽早为您提供家庭医生服务,请尽快到" + hos.getName() + "(地址:" + hos.getAddress() + ")缴费");
                if (result == 1) {
                    mFlag = true;

+ 5 - 5
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/common/SMSService.java

@ -84,26 +84,26 @@ public class SMSService extends BaseService {
            sms.setContent("您的注册验证码为:" + captcha);
        } else if (type == 2 || type == 3) {
            // 找回密码
            sms.setContent("【厦门市民健康系统】您的找回密码验证码为:" + captcha);
            sms.setContent("您的找回密码验证码为:" + captcha);
        } else if (type == 4 || type == 5) {
            // 登录
            sms.setContent("您的登录验证码为:" + captcha);
        } else if (type == 7) {
            // 手机号变更验证
            sms.setContent("【厦门市民健康系统】您的更换手机号验证码为:" + captcha);
            sms.setContent("您的更换手机号验证码为:" + captcha);
        } else if (type == 8) {
            // 新手机号绑定验证
            sms.setContent("【厦门市民健康系统】您的新手机号验证码为:" + captcha);
            sms.setContent("您的新手机号验证码为:" + captcha);
        } else if (type == 9) {
            // 新手机号绑定验证
            sms.setContent("【厦门市民健康系统】您绑定手机号的验证码为:" + captcha);
            sms.setContent("您绑定手机号的验证码为:" + captcha);
        } else if (type == 10) {
            Patient patient = patientDao.findByCode(code);
            if (patient == null) {
                throw new Exception("短信发送失败!");
            }
            // 新手机号绑定验证
            sms.setContent("【厦门市民健康系统】" + patient.getName() + "欲添加您为家人,添加成功后,对方可登录您的账号,为您处理各类健康服务。如同意添加,可告知其验证码(" + captcha + ")。");
            sms.setContent( patient.getName() + "欲添加您为家人,添加成功后,对方可登录您的账号,为您处理各类健康服务。如同意添加,可告知其验证码(" + captcha + ")。");
        } else {
            // 其他验证码
            sms.setContent("验证码:" + captcha);