作者 唐旭辉

提示语调整

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