作者 唐旭辉

bug fix

... ... @@ -154,7 +154,7 @@ func initAdminUser(centerCompany protocol.CenterCompanyInfo, o orm.Ormer) (*mode
ucenterUser = &ucenter.ResponseAddUser{}
err error
)
ucenterUser, err = ucenter.RequestUCenterAddUser(centerCompany.AdminName, centerCompany.AdminAccount, "")
ucenterUser, err = ucenter.RequestUCenterAddUser(centerCompany.AdminAccount, centerCompany.AdminName, "")
if err != nil {
log.Error("获取统一用户中心数据失败 :%s", err)
return nil, err
... ...
... ... @@ -45,7 +45,7 @@ func UserAdd(param protocol.RequestUserAdd) error {
userId int64
userCompanyid int64
)
resp, err := ucenter.RequestUCenterAddUser(param.Name, param.Phone, "")
resp, err := ucenter.RequestUCenterAddUser(param.Phone, param.Name, "")
if err != nil {
log.Error("用户数据提交用户中心失败:%s", err)
return protocol.NewErrWithMessage("1")
... ...