{域名地址}/api/archive/params
illustrate:{域名地址}
You need to replace it with your domain address, such as/api/archive/params
GET
Field name |
type |
Required |
illustrate |
id |
int |
no |
Parameters Get the specified document parameters based on the document id |
sorted |
int |
no |
The supported values are: false|true, when sorted=false, it is obtained an unordered map object, and data needs to be obtained in the form of . When sorted=true, gets a fixed sorted array object. The default is true to fixed-sorted array objects, so you need to use a for loop to get and output. |
Field name |
type |
illustrate |
code |
int |
Error code |
msg |
string |
Error Cause Description |
data |
object[] or object |
Results content |
extra fields are displayed according to the model set, and the field structure is key => item:
key form field call name, item is the content:
Field name |
type |
illustrate |
name |
string |
Field name |
value |
string |
The value filled in |
default |
string |
default value |
parameter |
value |
id |
1 |
sorted |
true |
{
"code": 0,
"data": [
{
"name": "作者",
"value": "AnqiCMS",
"default": ""
},
{
"name": "城市",
"value": "北京\n上海\n重庆\n广州\n天津",
"default": "北京\n上海\n重庆\n广州\n天津"
},
{
"name": "学历",
"value": "硕士\n本科\n大专\n高中\n初中",
"default": "硕士\n本科\n大专\n高中\n初中"
}
],
"msg": ""
}
{
"code": 0,
"data": {
"author": {
"name": "作者",
"value": "AnqiCMS",
"default": ""
},
"certificate": {
"name": "学历",
"value": "硕士\n本科\n大专\n高中\n初中",
"default": "硕士\n本科\n大专\n高中\n初中"
},
"city": {
"name": "城市",
"value": "北京\n上海\n重庆\n广州\n天津",
"default": "北京\n上海\n重庆\n广州\n天津"
}
},
"msg": ""
}
Error code |
illustrate |
0 |
OK |
-1 |
Error, the cause of the error is pointed out in msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API request OK |