示例#1
0
文件: email.go 项目: zbzzbd/beego
func (r *Email) IsExists() bool {
	return models.IsValueExists("users", "email", r.EmailAddress())
}
示例#2
0
文件: creation.go 项目: zbzzbd/beego
func (c *Creation) isCompanyExists() bool {
	return models.IsValueExists("companies", "id", c.companyId)
}