更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -20,7 +20,6 @@ func findTenantByLoginName(loginName string) (*models.SystemTenant, error) {
|
||||
Filter("delete_time__isnull", true)
|
||||
}
|
||||
|
||||
// 登录时支持租户全称、租户简称和租户编码。
|
||||
for _, field := range []string{"tenant_name", "tenant_short_name", "tenant_code"} {
|
||||
tenant := &models.SystemTenant{}
|
||||
if err := baseQuery().Filter(field, loginName).One(tenant); err == nil {
|
||||
|
||||
Reference in new issue
Block a user