555666
This commit is contained in:
parent
c1b79642b5
commit
3431241971
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user