|
@@ -54,6 +54,7 @@ public class RecommendController extends BaseController {
|
|
|
@PostMapping("/del/{id}")
|
|
@PostMapping("/del/{id}")
|
|
|
public void del(@PathVariable Long id) {
|
|
public void del(@PathVariable Long id) {
|
|
|
recommendRepo.deleteById(id);
|
|
recommendRepo.deleteById(id);
|
|
|
|
|
+ cacheService.clearRecommend();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping("/excel")
|
|
@GetMapping("/excel")
|