diff --git a/api/controller/Case.go b/api/controller/Case.go index 29bf0dd..a268b85 100644 --- a/api/controller/Case.go +++ b/api/controller/Case.go @@ -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() {