作者 庄敏学

fixed

... ... @@ -487,6 +487,9 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom
//rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId)
//rsp.ImToken = imInfo.ImToken
//rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
rsp.CsAccountID = ""
rsp.ImToken = ""
rsp.Accid = 1
rsp.Phone = request.Phone
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
... ...