mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-23 20:53:46 +08:00
fix:1、修复项目设置没有权限但团队可见的问题
2、修复删除项目团队失败的BUG
This commit is contained in:
@@ -75,7 +75,8 @@ func (m *TeamRelationship) DeleteByBookId(bookId int, teamId int) error {
|
||||
beego.Error("查询项目团队失败 ->", err)
|
||||
return err
|
||||
}
|
||||
return m.Delete(teamId)
|
||||
m.Include()
|
||||
return m.Delete(m.TeamRelationshipId)
|
||||
}
|
||||
|
||||
//保存团队项目.
|
||||
|
Reference in New Issue
Block a user