字典库
GET
/sys/dict/item/all
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{pc_token}}
Accept-Language
string
可选
默认值:
en-US
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://k28hrq.natappfree.cc/arbitrage/sys/dict/item/all' \
--header 'Authorization: Bearer {{pc_token}}' \
--header 'Authorization;' \
--header 'Accept-Language: en-US'
返回响应
🟢200成功
application/json
Body
data
string | integer | boolean | array | object | number | null
必需
error
null
必需
示例
{
"data": {
"RETAILER": [
{
"label": "Amber",
"value": "Amber",
"labels": "Amber",
"values": "Amber",
"children": null
}
],
"BRAND": [
{
"label": "eCactus",
"value": "eCactus",
"labels": "eCactus",
"values": "eCactus",
"children": null
},
{
"label": "deye",
"value": "deye",
"labels": "deye",
"values": "deye",
"children": null
}
],
"SITE_STATUS": [
{
"label": "All",
"value": "All",
"labels": "All",
"values": "All",
"children": null
},
{
"label": "Normal",
"value": "Normal",
"labels": "Normal",
"values": "Normal",
"children": null
},
{
"label": "Abnormal",
"value": "Abnormal",
"labels": "Abnormal",
"values": "Abnormal",
"children": null
},
{
"label": "Offline",
"value": "Offline",
"labels": "Offline",
"values": "Offline",
"children": null
}
],
"AMBER_RESOLUTION": [
{
"label": "5",
"value": "5",
"labels": "5",
"values": "5",
"children": null
},
{
"label": "30",
"value": "30",
"labels": "30",
"values": "30",
"children": null
}
],
"STATE": [
{
"label": "启用",
"value": "true",
"labels": "启用",
"values": "true",
"children": null
},
{
"label": "停用",
"value": "false",
"labels": "停用",
"values": "false",
"children": null
}
]
},
"error": null
}
修改于 2024-12-23 15:47:13