沃文档-加日志
This commit is contained in:
@ -330,7 +330,7 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("沃文档--天擎接口返回参数!~-----------------{}",ExceptionUtil.stacktraceToString(e));
|
log.error("沃文档--天擎接口返回参数!~-----------------{}",ExceptionUtil.stacktraceToString(e));
|
||||||
operationLogService.addOperationLog("沃文档天擎接口调用信息失败,请求地址{}"+bean.getBssUrl()+",参数{}"+json+",返回信息{}"+str,false, EbtpLogBusinessModule.PAY_PUSH, EbtpLogType.INSERT);
|
operationLogService.addOperationLog("沃文档天擎接口调用信息失败,请求地址"+bean.getBssUrl()+",参数"+json+",返回信息"+str,false, EbtpLogBusinessModule.PAY_PUSH, EbtpLogType.INSERT);
|
||||||
}
|
}
|
||||||
log.info("---沃文档--天擎接口返回参数-----"+str);
|
log.info("---沃文档--天擎接口返回参数-----"+str);
|
||||||
return null;
|
return null;
|
||||||
@ -392,8 +392,8 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
conn.setDoOutput(true);
|
conn.setDoOutput(true);
|
||||||
conn.setDoInput(true);
|
conn.setDoInput(true);
|
||||||
conn.setRequestMethod("POST");
|
conn.setRequestMethod("POST");
|
||||||
log.warn("沃文档天擎接口调用信息,HttpURLConnection1={}"+JSONObject.toJSONString(conn)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
log.warn("沃文档天擎接口调用信息,HttpURLConnection1="+JSONObject.toJSONString(conn)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
operationLogService.addOperationLog("沃文档天擎接口调用信息,HttpURLConnection1={}"+JSONObject.toJSONString(conn)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
operationLogService.addOperationLog("沃文档天擎接口调用信息,HttpURLConnection1="+JSONObject.toJSONString(conn)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
|
|
||||||
out = new PrintWriter(conn.getOutputStream());
|
out = new PrintWriter(conn.getOutputStream());
|
||||||
out.print(data);
|
out.print(data);
|
||||||
@ -409,11 +409,11 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
|
|
||||||
is.close();
|
is.close();
|
||||||
conn.disconnect();
|
conn.disconnect();
|
||||||
log.warn("沃文档天擎接口调用信息,HttpURLConnection2={}"+JSONObject.toJSONString(conn)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
log.warn("沃文档天擎接口调用信息,HttpURLConnection2="+JSONObject.toJSONString(conn)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
operationLogService.addOperationLog("沃文档天擎接口调用信息,HttpURLConnection2={}"+JSONObject.toJSONString(conn)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
operationLogService.addOperationLog("沃文档天擎接口调用信息,HttpURLConnection2="+JSONObject.toJSONString(conn)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
} catch (Exception var9) {
|
} catch (Exception var9) {
|
||||||
log.warn("沃文档天擎接口调用信息异常,异常信息={}"+ ExceptionUtil.stacktraceToString(var9)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
log.warn("沃文档天擎接口调用信息异常,异常信息="+ ExceptionUtil.stacktraceToString(var9)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
operationLogService.addOperationLog("沃文档天擎接口调用信息异常,异常信息={}"+JSONObject.toJSONString(var9)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
operationLogService.addOperationLog("沃文档天擎接口调用信息异常,异常信息="+JSONObject.toJSONString(var9)+",参数"+data+",返回信息"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
|
||||||
}
|
}
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
|
Reference in New Issue
Block a user