Browse Source

优化

pull/229/head
chenzhihang 8 months ago
parent
commit
b994fb3f31
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/controller/model/NewModelFromGitController.java
  2. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/ModelsService.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/controller/model/NewModelFromGitController.java View File

@@ -28,7 +28,7 @@ public class NewModelFromGitController extends BaseController {

@PostMapping("/addModel")
@ApiOperation("添加模型")
public GenericsAjaxResult<String> addModelAndVersion(@RequestBody ModelsVo modelsVo) throws Exception {
public GenericsAjaxResult<String> addModelAndVersion(@RequestBody ModelsVo modelsVo) {
return genericsSuccess(this.modelsService.newCreateModel(modelsVo));
}



+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/ModelsService.java View File

@@ -89,7 +89,7 @@ public interface ModelsService {

List<Map<String, String>> exportModels(String path, String uuid) throws Exception;

String newCreateModel(ModelsVo modelsVo) throws Exception;
String newCreateModel(ModelsVo modelsVo);

String newCreateVersion(ModelsVo modelsVo) throws Exception;



Loading…
Cancel
Save