curl --location --request GET 'https://test.pro.wuht.net/adminapi/file/category//edit' \
--header 'authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ0ZXN0LnByby53dWh0Lm5ldCIsImF1ZCI6InRlc3QucHJvLnd1aHQubmV0IiwiaWF0IjoxNjQ5NzQ2MjAyLCJuYmYiOjE2NDk3NDYyMDIsImV4cCI6MTY1MDM1MTAwMiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.-xDXOdYfBNsu3IqF3nMO_E_fop2lxkwNw25fdQpzGVQ'
{
"status": 200,
"msg": "ok",
"data": {
"rules": [
{
"type": "select",
"field": "pid",
"value": 0,
"title": "上级分类",
"props": {
"multiple": false,
"placeholder": "请选择上级分类",
"filterable": true
},
"options": [
{
"value": 0,
"label": "所有分类"
},
{
"label": "远程下载",
"value": 1
},
{
"label": "2",
"value": 2
},
{
"label": "3",
"value": 3
},
{
"label": "123123",
"value": 4
},
{
"label": "234",
"value": 5
},
{
"label": "343",
"value": 6
},
{
"label": "123123",
"value": 7
},
{
"label": "1231234",
"value": 8
}
]
},
{
"type": "input",
"field": "name",
"value": "123123",
"title": "分类名称",
"props": {
"type": "text",
"placeholder": "请输入分类名称",
"maxlength": 30
}
}
],
"title": "编辑分类",
"action": "/file/category/7.html",
"method": "PUT",
"info": "",
"status": true
}
}