From 768bf819d4ff745b4ba1332abf0ecf030b0e51ff Mon Sep 17 00:00:00 2001 From: zhanghai <120228220@qq.com> Date: Tue, 2 Jul 2024 09:51:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E9=85=8D=E7=BD=AE=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jiashi/service/UpdateService.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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);