URL地址:https://device.ymiot.net/api/DeviceApi/CurrencyApi
支持Post方法
actionName: setWebAddressRender
请求参数中下发的有效数据
字段 | 类型 | 必填 | 描述 | 示例值 |
speakVoiceText | String | 否 | 表示语音播报的文本内容 | |
webAddress | String | 否 |
表示指定加载的web页面 注意:用户输入为空,则表示当前刷新页面无效;如果用户输入不为空且不含http的头部,则页面刷新时自动添加http://头部,如果地址本身带有http头部则页面按照原地址刷新显示; |
注意:1,由于当前的设备web版本问题,暂时不支持 aixo,直接使用 $.ajax ;
|
webTime | int | 否,默认为-1 |
表示web页面显示的时间 设置为0,表示不显示,即可以取消页面显示; 设置为<0,表示一直显示; 设置为>0,表示页面的倒计时时间,倒计时时间后,页面主动消失 |
图片实例:
实例数据:
{
"actionname": "setWebAddressRender",
"deviceno": "cef86ac0003112ff",
"appid": "ymae1196994451795c",
"version": "1",
"data": "{\"data\":{\"speakVoiceText\":\"请扫描屏幕二维码缴费\",\"webAddress\":\"https://blog.csdn.net/qq_16628781/article/details/51539715\",\"webTime\":180}}",
"rand": "5.692210565",
"sign": "2034D77364594044299DB82D7B2DF5EB"
}