邮箱解析记录修改解析状态码

release
zhenghaiyang@ele-cloud.com 2 years ago
parent c07c525e0f
commit 69cd30ed01
  1. 4
      dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java

@ -181,10 +181,10 @@ public class SnEmailGatherTask {
Map resultMap = JSONObject.parseObject(body, Map.class); Map resultMap = JSONObject.parseObject(body, Map.class);
Object status = resultMap.get("status"); Object status = resultMap.get("status");
if(status != null && "200".equals(String.valueOf(status))){ if(status != null && "200".equals(String.valueOf(status))){
buildMsg(gatherLogVo,"1","推送影像票夹成功"); buildMsg(gatherLogVo,"0","推送影像票夹成功");
}else { }else {
gatherLogVo.setFphm(""); gatherLogVo.setFphm("");
buildMsg(gatherLogVo,"0","推送影像票夹失败"); buildMsg(gatherLogVo,"1","推送影像票夹失败");
break; break;
} }
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {

Loading…
Cancel
Save