|
@@ -44,6 +44,7 @@ public class ActivityController extends BaseController {
|
|
|
return activityRepo.findById(id).orElseThrow(new BusinessException("无记录"));
|
|
return activityRepo.findById(id).orElseThrow(new BusinessException("无记录"));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
@PostMapping("/del/{id}")
|
|
@PostMapping("/del/{id}")
|
|
|
public void del(@PathVariable Long id) {
|
|
public void del(@PathVariable Long id) {
|
|
|
activityRepo.softDelete(id);
|
|
activityRepo.softDelete(id);
|