|
@@ -89,7 +89,7 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
model.setUserName(username);
|
|
model.setUserName(username);
|
|
this.save(model);
|
|
this.save(model);
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"0");
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"0");
|
|
- fileName = UUID.randomUUID().toString().replace("-","");
|
|
|
|
|
|
+ fileName = UUID.randomUUID().toString().replace("-","") +".zip";
|
|
File newObjFile = null;
|
|
File newObjFile = null;
|
|
File objPathFile = null;
|
|
File objPathFile = null;
|
|
String objPath = String.format(OBJ_PATH , "modelId_"+model.getModelId()) ;
|
|
String objPath = String.format(OBJ_PATH , "modelId_"+model.getModelId()) ;
|