合并分支 'dev' 到 'test'
fix:修复权限变动无法登录问题 查看合并请求 !35
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -213,7 +213,7 @@ func (svr *PgLoginService) PartnerStaticInfo() (interface{}, error) { | @@ -213,7 +213,7 @@ func (svr *PgLoginService) PartnerStaticInfo() (interface{}, error) { | ||
213 | return response, e | 213 | return response, e |
214 | } | 214 | } |
215 | var mapCompanyAdminUsers map[int64]*domain.Users = make(map[int64]*domain.Users) //key:company_id value:domain.users | 215 | var mapCompanyAdminUsers map[int64]*domain.Users = make(map[int64]*domain.Users) //key:company_id value:domain.users |
216 | - if _, adminUsers, e := UsersRepository.Find(map[string]interface{}{"inCompanyIds": doGetCompanyIds(), "adminType": 2, "deleteAtIsNull": true, "isSenior": 1}); e == nil { | 216 | + if _, adminUsers, e := UsersRepository.Find(map[string]interface{}{"inCompanyIds": doGetCompanyIds(), "adminType": 2, "deleteAtIsNull": true}); e == nil { |
217 | for i := range adminUsers { | 217 | for i := range adminUsers { |
218 | mapCompanyAdminUsers[adminUsers[i].CompanyId] = adminUsers[i] | 218 | mapCompanyAdminUsers[adminUsers[i].CompanyId] = adminUsers[i] |
219 | } | 219 | } |
-
请 注册 或 登录 后发表评论