作者 唐旭辉

提示语调整

... ... @@ -200,7 +200,7 @@ func LoginAuthByUCenter(account, password string) (
ucompany, err := models.GetUserCompanyBy(userdata.Id, companyid)
if err != nil {
log.Error("获取user_company失败;%s", err)
return logintoken, protocol.NewErrWithMessage("1")
return logintoken, protocol.NewErrWithMessage("10022")
}
usercompanyid = ucompany.Id
logintoken, _ = GenerateAuthToken(userdata.Id, companyid, usercompanyid)
... ...