沃文档-加日志

This commit is contained in:
yss
2023-06-06 15:00:51 +08:00
parent 4a0b436b85
commit 66713dad3c

View File

@ -330,7 +330,7 @@ public class WpsServiceImpl implements WpsService {
}
} catch (Exception 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);
return null;
@ -392,8 +392,8 @@ public class WpsServiceImpl implements WpsService {
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setRequestMethod("POST");
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);
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);
out = new PrintWriter(conn.getOutputStream());
out.print(data);
@ -409,11 +409,11 @@ public class WpsServiceImpl implements WpsService {
is.close();
conn.disconnect();
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);
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);
} catch (Exception var9) {
log.warn("沃文档天擎接口调用信息异常,异常信息={}"+ ExceptionUtil.stacktraceToString(var9)+",参数{}"+data+",返回信息{}"+str,true, EbtpLogBusinessModule.OTHER, EbtpLogType.INSERT);
operationLogService.addOperationLog("沃文档天擎接口调用信息异常,异常信息={}"+JSONObject.toJSONString(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);
}
return str;