Veronique hace 1 año
padre
commit
16f2aa8fd1

BIN
doc/设计站技术手册.docx


+ 1 - 0
sdBusiness/src/main/java/com/sdtool/business/service/mall/DesignServiceImpl.java

@@ -332,6 +332,7 @@ public class DesignServiceImpl extends BaseService implements DesignService {
         //这里多了一个暂存设计的需求,进来之后先用outerSessionId找一下有没有暂存的设计稿,有了就直接返回暂存,没有的话正常加载模板
         String templateJson = redisService.get(keysService.getRedisKey(RedisKeys.KEY_DESIGNER_DESIGN_TEMPLATE_SESSION, supplierCode, true)
                 + outerSessionId);
+
         if (StringUtils.isNotEmpty(templateJson)) {
             DesignTemplate template = jsonConvert.convertFrom(DesignTemplate.class, templateJson);
             fillParamsToTemplate(template, params);

+ 1 - 1
sdCommon/src/main/java/com/sdtool/common/servlet/file/FileUploadServlet.java

@@ -91,7 +91,7 @@ public class FileUploadServlet extends BaseHttpServlet {
      * @param resp http响应
      * @throws IOException 异常
      */
-    @HttpMapping(url = "/upload/bucketFile", auth = true, comment = "通用文件上传")
+    @HttpMapping(url = "/upload/bucketFile", auth = false, comment = "通用文件上传")
     @SuppressWarnings("ResultOfMethodCallIgnored")
     public void uploadBucketFile(HttpRequest req, HttpResponse resp) throws IOException {
         ERPTokenUser currentUser = req.currentUser();