浏览代码

增加上传需求1

Xiewj 3 年之前
父节点
当前提交
663af131bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sxz-core/src/main/java/com/fdkk/sxz/other/listener/AddMoldelBuild.java

+ 1 - 1
sxz-core/src/main/java/com/fdkk/sxz/other/listener/AddMoldelBuild.java

@@ -88,7 +88,7 @@ public class AddMoldelBuild {
     }
     }
 
 
     public void syncModel(RequestRenovationPartsDetailManager param) {
     public void syncModel(RequestRenovationPartsDetailManager param) {
-        String token = RedisUtil.tryLock(param.getModelUploadId().toString() + "syncModel", 60 * 1000);
+        String token = RedisUtil.tryLock(param.getFileId().toString() + "syncModel", 60 * 1000);
         try {
         try {
             if (token != null) {
             if (token != null) {
                 String locationPath = buildPath + "upload/" + param.getFileId() + "/";
                 String locationPath = buildPath + "upload/" + param.getFileId() + "/";