POST [Host Server]/api/v1/base/boxVariants
Path | [Host Server]/api/v1/base/boxVariants |
---|---|
Summary | 获取变量 |
Description | 获取BOX下的变量 |
Consumes | application/json |
Parameters
Name | Description | Parameter Type | Data Type | Default | Required |
---|---|---|---|---|---|
token | 1.请求令牌 | json | string | yes | |
boxId | 2.BOX的ID | json | string | yes | |
deviceId | 3.设备的ID | json | int | no |
请求参数示例:
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50Ijoic3VtbWVyIiwiZXhwIjoxNzU3NDg0OTcxLCJpc3MiOiJzY2lvdF9jbG91ZCIsIm5iZiI6MTc1Njg4MDA3MX0.XpzCwo_W0JGpjAg4rciG8pfOatjSuYuZsyaXUnX7Ye0",
"boxId":"6ab728135e53485e9e42bf5595da5bba"
}
Responses JsonResult«DataVo» :
Properties | Type | Description |
---|---|---|
code | integer | 状态码 |
data | DataVo | 数据集,状态success为true时返回,否则为空 |
msg | string | 返回消息 |
success | boolean | 状态 |
DataVo:
Properties | Type | Description |
---|---|---|
variantId | string | 变量ID |
name | string | 变量名称 |
type | string | 变量类型 |
addr | string | 变量地址 |
作者:霜蝉科技 创建时间:2025-08-07 10:51
最后编辑:霜蝉科技 更新时间:2025-09-08 13:49
最后编辑:霜蝉科技 更新时间:2025-09-08 13:49