Add max-depth constrain. Fix issue #4.

This commit is contained in:
zicla
2018-01-17 01:16:34 +08:00
parent 452c48c17e
commit 042bc6ca1a
5 changed files with 71 additions and 22 deletions

View File

@ -68,8 +68,8 @@ func (this *MatterDao) FindByUserUuidAndPuuidAndNameAndDirTrue(userUuid string,
return matter
}
//按照id和userUuid来查找。
func (this *MatterDao) FindByUuidAndUserUuid(uuid string, userUuid string) *Matter {
//按照id和userUuid来查找。找不到抛异常。
func (this *MatterDao) CheckByUuidAndUserUuid(uuid string, userUuid string) *Matter {
// Read
var matter = &Matter{}