bug修改
This commit is contained in:
+3
@@ -46,6 +46,9 @@ public class ContractCreateProjectSendMessageServiceImpl implements ContractCrea
|
||||
if(!StringUtils.isBlank(sysUserDetail.getEmail())){
|
||||
sendMessageDTO.setEmail(PasswordUtil.decrypt(sysUserDetail.getEmail()));
|
||||
}
|
||||
if(!StringUtils.isEmpty(sysUserDetail.getPhone())){
|
||||
sendMessageDTO.setPhone(PasswordUtil.decrypt(sysUserDetail.getPhone()));
|
||||
}
|
||||
HashMap<String,String> map = new HashMap<>();
|
||||
map.put("projectName",projectName);
|
||||
sendMessageDTO.setFromUser(sysUser.getUsername());
|
||||
|
||||
+3
-3
@@ -104,7 +104,7 @@ public class SendMessageServiceImpl implements SendMessageService {
|
||||
}
|
||||
}catch (Exception e){
|
||||
log.error("发送邮件异常",e);
|
||||
throw new JeroBootException("邮件发送失败!");
|
||||
// throw new JeroBootException("邮件发送失败!");
|
||||
}
|
||||
}
|
||||
// 发送消息
|
||||
@@ -167,7 +167,7 @@ public class SendMessageServiceImpl implements SendMessageService {
|
||||
}
|
||||
}catch (Exception e){
|
||||
log.error("发送消息异常",e);
|
||||
throw new JeroBootException("消息发送失败!");
|
||||
// throw new JeroBootException("消息发送失败!");
|
||||
}
|
||||
}
|
||||
// todo 发送短信 待完成
|
||||
@@ -344,7 +344,7 @@ public class SendMessageServiceImpl implements SendMessageService {
|
||||
sysBaseAPI.sendMessage(sendMessageDTO.getPhone(),sender,templateId,signature,templateParas);
|
||||
}catch (Exception e){
|
||||
log.error("发送短信异常",e);
|
||||
throw new JeroBootException("短信发送失败!");
|
||||
// throw new JeroBootException("短信发送失败!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user