diff --git a/src/main/java/cn/com/tenlion/systemcard/controller/app/api/shoptemplateconfig/ShopTemplateConfigAppController.java b/src/main/java/cn/com/tenlion/systemcard/controller/app/api/shoptemplateconfig/ShopTemplateConfigAppController.java index 111c6f8..d444e17 100644 --- a/src/main/java/cn/com/tenlion/systemcard/controller/app/api/shoptemplateconfig/ShopTemplateConfigAppController.java +++ b/src/main/java/cn/com/tenlion/systemcard/controller/app/api/shoptemplateconfig/ShopTemplateConfigAppController.java @@ -81,7 +81,8 @@ public class ShopTemplateConfigAppController extends DefaultBaseController { for(ConfigTableOperationDTO operationDTO : operationDTOList) { // 公司图片 if("photo".equals(operationDTO.getName()) ) { - String[] imageList = (operationDTO.getValue() + "" ).split(","); + String value = operationDTO.getValue() + ""; + String[] imageList = (value).substring(0, value.length() - 2).split(","); modelAndView.addObject("fileList", imageList); } // 公司介绍 @@ -105,7 +106,8 @@ public class ShopTemplateConfigAppController extends DefaultBaseController { for(ConfigTableOperationDTO operationDTO : operationDTOList) { // 公司图片 if("photo".equals(operationDTO.getName()) ) { - String[] imageList = (operationDTO.getValue() + "" ).split(","); + String value = operationDTO.getValue() + ""; + String[] imageList = (value).substring(0, value.length() - 2).split(","); modelAndView.addObject("fileList", imageList); } // 公司介绍 diff --git a/src/main/resources/templates/shoptemplateconfig/baseinfo.html b/src/main/resources/templates/shoptemplateconfig/baseinfo.html index ead6638..359d432 100644 --- a/src/main/resources/templates/shoptemplateconfig/baseinfo.html +++ b/src/main/resources/templates/shoptemplateconfig/baseinfo.html @@ -15,7 +15,7 @@
-
+

diff --git a/src/main/resources/templates/shoptemplateconfig/companyinfo.html b/src/main/resources/templates/shoptemplateconfig/companyinfo.html index e601630..e2c2918 100644 --- a/src/main/resources/templates/shoptemplateconfig/companyinfo.html +++ b/src/main/resources/templates/shoptemplateconfig/companyinfo.html @@ -15,10 +15,15 @@
-
+
+
+
+

+
+
diff --git a/src/main/resources/templates/shoptemplateconfig/shoptest.html b/src/main/resources/templates/shoptemplateconfig/shoptest.html index b885010..d1fb6e0 100644 --- a/src/main/resources/templates/shoptemplateconfig/shoptest.html +++ b/src/main/resources/templates/shoptemplateconfig/shoptest.html @@ -15,7 +15,7 @@
-
+