|
@@ -3,8 +3,6 @@ package com.xy.service;
|
|
|
import com.xy.annotate.RestMappingController;
|
|
|
import com.xy.dto.AlgorithmDto;
|
|
|
import com.xy.utils.R;
|
|
|
-import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -19,14 +17,11 @@ import java.util.List;
|
|
|
* @author hechunping
|
|
|
* @since 2023-01-12
|
|
|
*/
|
|
|
-@Api(tags = "算法平台服务")
|
|
|
@RestMappingController("/algorithm")
|
|
|
public interface AlgorithmService {
|
|
|
@PostMapping("list")
|
|
|
- @ApiOperation("列表集合")
|
|
|
R<List<AlgorithmDto.Vo>> list(@RequestBody AlgorithmDto.SelectList selectList);
|
|
|
|
|
|
@PostMapping("saveOrUpdate")
|
|
|
- @ApiOperation(value = "新增、更新算法平台", notes = "不传id为新增,传id为修改")
|
|
|
R saveOrUpdate(@Validated @RequestBody AlgorithmDto.Save saveDto);
|
|
|
}
|