feat:更新朋友圈功能
This commit is contained in:
@@ -31,6 +31,12 @@ public class MomentController {
|
||||
return momentService.updateMoment(id, momentDto);
|
||||
}
|
||||
|
||||
@Operation(summary = "删除朋友圈")
|
||||
@DeleteMapping("/{id}")
|
||||
public Boolean deleteMoment(@PathVariable("id") long id) {
|
||||
return momentService.deleteMoment(id);
|
||||
}
|
||||
|
||||
@Operation(summary = "查询朋友圈")
|
||||
@GetMapping("")
|
||||
public @JsonView(ReadView.class) List<MomentDto> queryMoment() {
|
||||
|
||||
Reference in New Issue
Block a user