|
@@ -330,6 +330,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
@@ -330,6 +330,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom |
330
|
rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId)
|
330
|
rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId)
|
331
|
rsp.ImToken = imInfo.ImToken
|
331
|
rsp.ImToken = imInfo.ImToken
|
332
|
rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
|
332
|
rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
|
|
|
333
|
+ rsp.Phone = request.Phone
|
333
|
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
|
334
|
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
|
334
|
|
335
|
|
335
|
err = transactionContext.CommitTransaction()
|
336
|
err = transactionContext.CommitTransaction()
|