|
@@ -255,12 +255,13 @@ public class CheckService {
|
|
|
//存原始数据
|
|
//存原始数据
|
|
|
AnalysisReturnData respData = send != null?send.getData():null;
|
|
AnalysisReturnData respData = send != null?send.getData():null;
|
|
|
if (respData != null) {
|
|
if (respData != null) {
|
|
|
- respData.setRet_image(null);
|
|
|
|
|
- respData.setSrc_image(null);
|
|
|
|
|
- algorithm.setRespData(JSONObject.toJSONString(send));
|
|
|
|
|
- ImgPostResponse<AnalysisReturnData> dataImgPostResponse = new ImgPostResponse<>();
|
|
|
|
|
- dataImgPostResponse.setData(respData);
|
|
|
|
|
- algorithm.setRespData(JSONObject.toJSONString(dataImgPostResponse));
|
|
|
|
|
|
|
+ respData.setRet_image("Removed to save respBody");
|
|
|
|
|
+ respData.setSrc_image("Removed to save respBody");
|
|
|
|
|
+ ImgPostResponse<AnalysisReturnData> response = new ImgPostResponse<>();
|
|
|
|
|
+ response.setData(respData);
|
|
|
|
|
+ response.setStatus_code(send.getStatus_code());
|
|
|
|
|
+ response.setMessage(send.getMessage());
|
|
|
|
|
+ algorithm.setRespData(JSONObject.toJSONString(response));
|
|
|
algorithm.setRespCode(send.getStatus_code());
|
|
algorithm.setRespCode(send.getStatus_code());
|
|
|
}
|
|
}
|
|
|
algorithm.setUpdateTime(new Date());
|
|
algorithm.setUpdateTime(new Date());
|