作者 唐旭辉

bug fix

@@ -154,7 +154,7 @@ func initAdminUser(centerCompany protocol.CenterCompanyInfo, o orm.Ormer) (*mode @@ -154,7 +154,7 @@ func initAdminUser(centerCompany protocol.CenterCompanyInfo, o orm.Ormer) (*mode
154 ucenterUser = &ucenter.ResponseAddUser{} 154 ucenterUser = &ucenter.ResponseAddUser{}
155 err error 155 err error
156 ) 156 )
157 - ucenterUser, err = ucenter.RequestUCenterAddUser(centerCompany.AdminAccount, centerCompany.AdminName, "") 157 + ucenterUser, err = ucenter.RequestUCenterAddUser(centerCompany.AdminName, centerCompany.AdminAccount, "")
158 if err != nil { 158 if err != nil {
159 log.Error("获取统一用户中心数据失败 :%s", err) 159 log.Error("获取统一用户中心数据失败 :%s", err)
160 return nil, err 160 return nil, err