作者 庄敏学

fixe

@@ -487,9 +487,9 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom @@ -487,9 +487,9 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom
487 //rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId) 487 //rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId)
488 //rsp.ImToken = imInfo.ImToken 488 //rsp.ImToken = imInfo.ImToken
489 //rsp.Accid, _ = strconv.Atoi(imInfo.ImId) 489 //rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
490 - rsp.CsAccountID = ""  
491 - rsp.ImToken = ""  
492 - rsp.Accid = 1 490 + rsp.CsAccountID = "3129687690100739"
  491 + rsp.ImToken = "d31efb292166d07a3cd9f6693b7601ab"
  492 + rsp.Accid = 3722917312790528
493 rsp.Phone = request.Phone 493 rsp.Phone = request.Phone
494 rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second) 494 rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
495 495