...
|
...
|
@@ -331,7 +331,7 @@ func CenterCompanys(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
|
rsp.ImToken = imInfo.ImToken
|
|
|
rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
|
|
|
rsp.Phone = request.Phone
|
|
|
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
|
|
|
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, 60*time.Second)
|
|
|
|
|
|
err = transactionContext.CommitTransaction()
|
|
|
v = map[string]interface{}{"center": rsp}
|
...
|
...
|
|