#EC-HJ-13# 人力资源mq消息增加日志

feature-LeeD-20221025
shilei 3 years ago
parent b2acb5f422
commit c296a64206

File diff suppressed because it is too large Load Diff

@ -74,11 +74,18 @@ public class SendMailUtil{
.addHeader("Content-Type", "application/json") .addHeader("Content-Type", "application/json")
.build(); .build();
Response response = client.newCall(request).execute(); Response response = client.newCall(request).execute();
baseBean.writeLog("response.code():"+response.code());
baseBean.writeLog("response.body():"+response.body().string());
if(response!=null && response.code() != 200){
baseBean.writeLog(response.body().string());
}
} }
}catch (IOException e) { }catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
baseBean.writeLog(e);
}catch (Exception e){ }catch (Exception e){
baseBean.writeLog(e);
} }
} }

Loading…
Cancel
Save