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

This commit is contained in:
wucongxing8150 2025-07-25 16:11:47 +08:00
parent a88cdbe43f
commit cbe48f9780

View File

@ -220,8 +220,7 @@ public class CaseExchangeService {
} }
// 检测作品状态 // 检测作品状态
boolean result = checkCaseExchangeStatus(caseExchange); if (!checkCaseExchangeStatus(caseExchange)){
if (!result){
throw new BusinessException("非法操作"); throw new BusinessException("非法操作");
} }