feat(web): 增加删除数据资源接口
This commit is contained in:
@@ -74,9 +74,9 @@ public class DataResourceController {
|
||||
return AmisResponse.responseSuccess(new DataResourceDetail(mapper, dataResourceService.detail(id)));
|
||||
}
|
||||
|
||||
@PostMapping("/update/{id}")
|
||||
public void update(@PathVariable Long id, @RequestBody UpdateRequest request) throws JsonProcessingException {
|
||||
|
||||
@GetMapping("/remove/{id}")
|
||||
public void remove(@PathVariable Long id) {
|
||||
dataResourceService.remove(id);
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
Reference in New Issue
Block a user