版本文件 接口记录
This commit is contained in:
parent
98145e92ec
commit
6059797e1a
|
|
@ -28,12 +28,14 @@ public class TbVersionController {
|
|||
}
|
||||
|
||||
@PostMapping
|
||||
@Log("版本管理 新增")
|
||||
@ApiOperation("新增版本")
|
||||
public ResponseEntity<Object> createTbVersion(@Validated @RequestBody TbVersion resources){
|
||||
return new ResponseEntity<>(tbVersionService.create(resources),HttpStatus.CREATED);
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
@Log("版本管理 修改")
|
||||
@ApiOperation("修改版本")
|
||||
public ResponseEntity<Object> updateTbVersion(@Validated @RequestBody TbVersion resources){
|
||||
tbVersionService.update(resources);
|
||||
|
|
@ -41,6 +43,7 @@ public class TbVersionController {
|
|||
}
|
||||
|
||||
@PutMapping("upSel")
|
||||
@Log("版本管理 修改选中")
|
||||
@ApiOperation("修改当前选中")
|
||||
public ResponseEntity<Object> updateSel(@Validated @RequestBody TbVersion resources){
|
||||
tbVersionService.updateSel(resources);
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ public class QiniuController {
|
|||
return new ResponseEntity<>(qiNiuService.queryAll(criteria,pageable),HttpStatus.OK);
|
||||
}
|
||||
|
||||
// @Log("上传文件")
|
||||
@Log("上传版本文件")
|
||||
@ApiOperation("上传文件")
|
||||
@AnonymousPostMapping
|
||||
public ResponseEntity<Object> uploadQiNiu(@RequestParam MultipartFile file){
|
||||
|
|
|
|||
Loading…
Reference in New Issue