| | |
| | | import com.doumee.dao.business.dao.SmsConfigMapper; |
| | | import com.doumee.dao.business.dao.SmsEmailMapper; |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.business.model.vo.ValidPhoneCodeVO; |
| | | import com.doumee.service.business.SmsEmailService; |
| | | import com.doumee.service.business.third.EmayService; |
| | | import org.apache.commons.lang3.StringUtils; |
| | |
| | | |
| | | |
| | | |
| | | @Override |
| | | public void validPhoneCaptcha(ValidPhoneCodeVO param){ |
| | | isCaptcheValide(smsEmailMapper,param.getPhone(),param.getCode()); |
| | | } |
| | | @Override |
| | | public Integer create(SmsEmail smsEmail) { |
| | | smsEmailMapper.insert(smsEmail); |
| | |
| | | content = content.replace("{提交的出发时间}",DateUtil.getFomartDate(carUseBook.getStartTime(),"yyyy-MM-dd HH:mm")); |
| | | }else if(objCode.equals(SmsConstants.carUseBookContent.carUseBookAuditFail) || objCode.equals(SmsConstants.carUseBookContent.carUseBookCancel)){ |
| | | //您的【用车申请】已被驳回,驳回原因为:{驳回原因}。如有疑问,请联系派车员。 |
| | | if(StringUtils.isBlank(msg)){ |
| | | msg = "其他原因"; |
| | | } |
| | | content = content.replace("{驳回原因}",msg); |
| | | //您的【用车申请】已被取消,取消原因为:{取消原因}。如有疑问,请联系派车员。 |
| | | content = content.replace("{取消原因}",msg); |