|
|
@@ -85,7 +85,7 @@ public class CuiQiuMailServiceImpl implements CuiQiuMailService {
|
|
|
HttpResponse execute = post.execute();
|
|
|
CuiQiuEmailResultDto resultDto = Jsons.parseObject(execute.body(), CuiQiuEmailResultDto.class);
|
|
|
if (resultDto.getData().getList() == null) {
|
|
|
- return null;
|
|
|
+ throw BusinessRuntimeException.getInstance("未收到对应邮件");
|
|
|
}
|
|
|
List<CuiQiuEmailDto> list = resultDto.getData().getList();
|
|
|
//获取邮箱对应的邮件
|