feat:实现项目团队加入功能

This commit is contained in:
lifei6671
2018-11-12 21:01:59 +08:00
parent 7785fb270d
commit 0f705f0249
13 changed files with 278 additions and 124 deletions

View File

@@ -35,6 +35,9 @@ func (u *Relationship) TableUnique() [][]string {
}
}
func (u *Relationship) QueryTable() orm.QuerySeter {
return orm.NewOrm().QueryTable(u.TableNameWithPrefix())
}
func NewRelationship() *Relationship {
return &Relationship{}
}