diff --git a/src/main/java/com/jiashi/service/UpdateService.java b/src/main/java/com/jiashi/service/UpdateService.java index dbde763..5296432 100644 --- a/src/main/java/com/jiashi/service/UpdateService.java +++ b/src/main/java/com/jiashi/service/UpdateService.java @@ -109,14 +109,14 @@ public class UpdateService { log.info("请求参数:"+s); // 上传 try { -// CommonResult commonResult = FileUploader.uploadFilesWithParams(files, "http://10.2.130.59:8712/api/downplatform/fileUploadJpg", params); -// if(commonResult.getCode()==0){ -// dataQuery.updateBatchState(cardInfo,3); -// -// }else{ -// dataQuery.updateBatchState(cardInfo,4); -// log.error(commonResult.getMsg()); -// } + CommonResult commonResult = FileUploader.uploadFilesWithParams(files, "http://10.2.130.59:8712/api/downplatform/fileUploadJpg", params); + if(commonResult.getCode()==0){ + dataQuery.updateBatchState(cardInfo,3); + + }else{ + dataQuery.updateBatchState(cardInfo,4); + log.error(commonResult.getMsg()); + } dataQuery.updateBatchState(cardInfo,4); } catch (Exception e) { dataQuery.updateBatchState(cardInfo,4);