BUGFIX: 模特preview;

This commit is contained in:
shahaibo
2023-10-16 11:42:20 +08:00
parent f76298c42f
commit c3e979e096
4 changed files with 10 additions and 3 deletions

View File

@@ -69,4 +69,6 @@ public interface LibraryService extends IService<Library> {
List<LibraryVo> getByUrlList(List<String> urlList,Long userId);
Boolean updateLibraryLevel2Type(LibraryLevel2TypeUpdateDTO libraryLevel2TypeUpdateDTO);
String processMannequins(String uploadPath);
}

View File

@@ -208,7 +208,8 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
}
}
private String processMannequins(String filePath) {
@Override
public String processMannequins(String filePath) {
ModelPathObject modelPathObject = new ModelPathObject();
modelPathObject.setModel_path(filePath);
OkHttpClient client = new OkHttpClient().newBuilder()