curl --location --request GET 'https://test.pro.wuht.net/adminapi/user/user_lable/1/edit' \
--header 'authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ0ZXN0LnByby53dWh0Lm5ldCIsImF1ZCI6InRlc3QucHJvLnd1aHQubmV0IiwiaWF0IjoxNjQ5NzQ2MjAyLCJuYmYiOjE2NDk3NDYyMDIsImV4cCI6MTY1MDM1MTAwMiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.-xDXOdYfBNsu3IqF3nMO_E_fop2lxkwNw25fdQpzGVQ'
{
"status": 200,
"msg": "ok",
"data": {
"rules": [
{
"type": "select",
"field": "label_cate",
"value": 26,
"title": "分类",
"props": {
"multiple": false,
"placeholder": "请选择分类",
"filterable": true
},
"options": [
{
"value": 39,
"label": "123123"
},
{
"value": 26,
"label": "CRMEB门店测试"
}
]
},
{
"type": "hidden",
"field": "id",
"value": 2
},
{
"type": "input",
"field": "label_name",
"value": "新客户",
"title": "标签名称",
"props": {
"type": "text",
"placeholder": "请输入标签名称"
},
"validate": [
{
"message": "请填写标签名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
}
],
"title": "修改标签",
"action": "/user/user_label/save.html",
"method": "POST",
"info": "",
"status": true
}
}