正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论