Description

  • Description of the msgbox widget

Interface version

Version number Writer Date Description
1.0 Qin Zhitian June 29, 2021 initial release

IP address

http://192.168.1.1/wapi

API list

Name Description
set set attributes

1. set

Description of request parameters

Parameter Name Type Description
attr string attribute
attr.set_text string action: set_text-‘set the text of msgbox’;
attr.text string parameter: text content

Call example

{
    "wid": "s1",
    "cmd" : "set",
    "attr": {
        "set_text": "set_text",
         "text": "text1"
    }
}
Note: set the text content of msgbox to "text1";

Return example

{
    "code": 0
}

Description of return parameters

Parameter Name Type Description
result string result information
result.code int error code

Error code

Error Code Description
文档更新时间: 2021-08-19 14:43   作者:plj