|
|
@ -44,6 +44,8 @@ public class RecommendationController { |
|
|
|
} |
|
|
|
@DeleteMapping("/api/deleteRecommendation/{id}") |
|
|
|
public Result deleteRecommendation(@PathVariable Integer id) { |
|
|
|
log.info("根据id删除推荐:{}",id); |
|
|
|
|
|
|
|
recommendationService.delete(id); |
|
|
|
return Result.success(); |
|
|
|
} |
|
|
|