From 50c4800751a4ce33842c04badd18ca697c041f7c Mon Sep 17 00:00:00 2001 From: xhxu Date: Sat, 1 Jul 2023 19:04:13 +0800 Subject: [PATCH] //.. --- .../controller/basic/TtMerchantPoiController.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mallinkAdmin/src/main/java/com/iformall/controller/basic/TtMerchantPoiController.java b/mallinkAdmin/src/main/java/com/iformall/controller/basic/TtMerchantPoiController.java index 3999aa20c..a23e79ddd 100644 --- a/mallinkAdmin/src/main/java/com/iformall/controller/basic/TtMerchantPoiController.java +++ b/mallinkAdmin/src/main/java/com/iformall/controller/basic/TtMerchantPoiController.java @@ -254,13 +254,13 @@ public class TtMerchantPoiController extends DouyinBaseController { //@SystemControllerLog(description = "poi-来客模版补齐地理位置信息") public void addLocationInfo(@RequestParam("poiFile") MultipartFile mFile,HttpServletRequest request, HttpServletResponse response) { try { - boolean isSaas = this.isGoodLifeSaas(); - if (!isSaas) { - //return addLocationInfo(mFile,false); - throw new MallinkException(Result.ERROR,"当前版本无需补齐地理位置信息"); - }else { +// boolean isSaas = this.isGoodLifeSaas(); +// if (!isSaas) { +// //return addLocationInfo(mFile,false); +// throw new MallinkException(Result.ERROR,"当前版本无需补齐地理位置信息"); +// }else { addLocationInfo(mFile,true,"1bdc087fc6f72820dc5c848a033de7f9",request,response); - } +// } } catch (Exception e) { logger.error("addLocationInfo error.",e); throw new MallinkException(Result.ERROR,e.getMessage()); @@ -273,7 +273,7 @@ public class TtMerchantPoiController extends DouyinBaseController { throw new MallinkException(Result.ERROR, "上传文件不能为空"); } //得到当前用户ID - final MallUserInfo user = getUser(); +// final MallUserInfo user = getUser(); String fpath = fmUploadDir; File targetFile = new File(fpath);