curl --location --request GET 'https://test.pro.wuht.net/adminapi/system/admin/12/edit' \
--header 'authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ0ZXN0LnByby53dWh0Lm5ldCIsImF1ZCI6InRlc3QucHJvLnd1aHQubmV0IiwiaWF0IjoxNjQ5NzQ2MjAyLCJuYmYiOjE2NDk3NDYyMDIsImV4cCI6MTY1MDM1MTAwMiwianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.-xDXOdYfBNsu3IqF3nMO_E_fop2lxkwNw25fdQpzGVQ'
{
"status": 200,
"msg": "ok",
"data": {
"rules": [
{
"type": "input",
"field": "staff_name",
"value": "9888",
"title": "门店管理员名称",
"col": {
"span": 24
},
"props": {
"type": "text",
"placeholder": "请输入门店管理员名称"
},
"validate": [
{
"message": "请填写门店管理员名称",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "frame",
"field": "avatar",
"value": "",
"title": "管理员头像",
"props": {
"type": "image",
"maxLength": 1,
"title": "请选择管理员头像",
"src": "/store/widget.images/index.html?fodder=avatar",
"icon": "ios-add",
"width": "950px",
"height": "430px"
}
},
{
"type": "input",
"field": "account",
"value": "8989",
"title": "门店管理员账号",
"props": {
"type": "text",
"placeholder": "请输入门店管理员账号"
},
"validate": [
{
"message": "请填写门店管理员账号",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "phone",
"value": "19009870000",
"title": "手机号码",
"col": {
"span": 24
},
"props": {
"type": "text",
"placeholder": "请输入手机号码"
},
"validate": [
{
"message": "请输入手机号码",
"required": true,
"type": "string",
"trigger": "change"
}
]
},
{
"type": "input",
"field": "pwd",
"value": "",
"title": "门店管理员密码",
"props": {
"type": "password",
"placeholder": "不更改密码请留空"
}
},
{
"type": "input",
"field": "conf_pwd",
"value": "",
"title": "确认密码",
"props": {
"type": "password",
"placeholder": "不更改密码请留空"
}
},
{
"type": "select",
"field": "roles",
"value": [
14
],
"title": "管理员身份",
"props": {
"multiple": true,
"placeholder": "请选择管理员身份"
},
"validate": [
{
"message": "请选择门店管理员身份",
"required": true,
"type": "array",
"trigger": "change"
}
],
"options": [
{
"label": "店员",
"value": 14
},
{
"label": "是的是的",
"value": 29
},
{
"label": "欧赔",
"value": 31
},
{
"label": "12312",
"value": 55
}
]
},
{
"type": "radio",
"field": "status",
"value": 1,
"title": "状态",
"props": {},
"options": [
{
"value": 1,
"label": "开启"
},
{
"value": 0,
"label": "关闭"
}
]
}
],
"title": "修改门店管理员",
"action": "/system/admin/102",
"method": "put",
"info": "",
"status": true
}
}