详情页增加了删除状态的判断

This commit is contained in:
2025-07-25 16:10:53 +08:00
parent 7d206deaac
commit a88cdbe43f
6 changed files with 53 additions and 23 deletions
@@ -69,13 +69,9 @@ public class CaseClinicalVideoController {
return Response.error("非法视频");
}
// 删除状态
if (video.getDeleteStatus() == 1){
return Response.error(201,null,"该作品已被删除");
}
// 状态(1:正常 2:禁用)
if (video.getVideoStatus() == 2){
// 检测作品状态
boolean result = caseClinicalVideoService.checkClinicalVideoStatus(video);
if (!result){
return Response.error(201,null,"该作品已被删除");
}