This commit is contained in:
wucongxing8150 2025-03-12 10:21:15 +08:00
parent c1b79642b5
commit 3431241971

View File

@ -292,12 +292,6 @@ func (b *Case) AddCase(c *gin.Context) {
return
}
// 检测状态
if project.ProjectStatus == 0 {
responses.FailWithMessage("项目无效,无法添加", c)
return
}
// 开始事务
tx := global.Db.Begin()
defer func() {