|
|
@@ -38,7 +38,7 @@ public class DashboardFavoriteController {
|
|
|
|
|
|
@PostMapping("/delete/{id}")
|
|
|
@CheckToken
|
|
|
- @ApiOperation(value = "加入收藏", notes = "加入我的收藏", response = RepEntity.class)
|
|
|
+ @ApiOperation(value = "取消收藏", notes = "取消我的收藏", response = RepEntity.class)
|
|
|
public RepEntity delete(@RequestHeader String token, @PathVariable("id") Long dashboardId){
|
|
|
dashboardFavoriteService.delete(token, dashboardId);
|
|
|
return new RepEntity(RepCode.success);
|