腾讯通(RTX)的相关操作
| Type | Name and description |
|---|---|
static String |
VIEW_PATH |
RtxService |
rtxService |
static Object |
scope |
| Type | Name and description |
|---|---|
Object |
helper()RTX 在线帮助(带在线感知,只支持IE),配合标签 rtx:helper。 |
Object |
index()在页面上初始化RTX相关资源,并提供相关的可直接调用的API |
Object |
sendMessage()发送系统消息 |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
RTX 在线帮助(带在线感知,只支持IE),配合标签 rtx:helper。
在页面上初始化RTX相关资源,并提供相关的可直接调用的API
调用示例:<sec:ifNotSwitched><g:include controller="rtx"/></sec:ifNotSwitched>
正向SSO,直接调用 loginRTX("zhangsan"); 即可;或者如果用户名一致,则直接调用 loginRTX() 即可。
注意:
- proxy的相关设置(要能允许访问RTX服务器) bropen.framework.plugins.proxy.http.enabled bropen.framework.plugins.proxy.http.server.uri.pattern bropen.framework.plugins.proxy.http.client.ip.pattern
- 以及RTX服务器上的SDKPorperty.xml安全设置
- SSO的相关资源需部署到RTX服务器(/bropen/sso/forward.js)
发送系统消息
receiver - 接收者帐号,多个接受者以逗号(,)隔开title - 标题,默认为“通知”content - 消息内容delaytime - 消息提醒框停留时间(毫秒),0表示不自动消失,默认以服务器设置为主(默认为10s)