lyhzzz 2 mēneši atpakaļ
vecāks
revīzija
ea53d47c1f

+ 1 - 1
src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

@@ -108,7 +108,7 @@ public class OBJToGLBUtil {
         LinkedHashSet<String> imgMtl = readMtlFile(file.getPath());
         for (String mtlName : imgMtl) {
             if(!imgName.contains(mtlName)){
-                throw new BusinessException(ResultCode.UPLOAD_FILE_MSG_ERROR.code,mtlName +".jpg 图片缺失!");
+                throw new BusinessException(ResultCode.UPLOAD_FILE_ERROR);
             }
         }
         updateMtlFile(file);