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