@@ -30,7 +30,7 @@ public class YgzCardBlackUploadManager extends AbstractCommNioManager implements | |||
response.setMsg("接口无法返回值"); | |||
return onFailed(request, response, YgzInterfaceLog.class, System.currentTimeMillis() - begin, "接口无法返回值"); | |||
} | |||
if (hasText(nioResponse.getErrorMsg())) { | |||
if (!nioResponse.getStatusCode().equals("200") || hasText(nioResponse.getErrorMsg())) { | |||
YgzCardBlackUploadResponse response = new YgzCardBlackUploadResponse(); | |||
response.setUploadStatus(nioResponse.getUploadStatus()); | |||
response.setSuccess(false); |
@@ -30,7 +30,7 @@ public class YgzObuBlackUploadManager extends AbstractCommNioManager implements | |||
response.setMsg("接口无法返回值"); | |||
return onFailed(request, response, YgzInterfaceLog.class, System.currentTimeMillis() - begin, "接口无法返回值"); | |||
} | |||
if (hasText(nioResponse.getErrorMsg())) { | |||
if (!nioResponse.getStatusCode().equals("200") || hasText(nioResponse.getErrorMsg())) { | |||
YgzObuBlackUploadResponse response = new YgzObuBlackUploadResponse(); | |||
response.setUploadStatus(nioResponse.getUploadStatus()); | |||
response.setSuccess(false); |