添加用户时,用户基本属性都能添加,但扩展属性都无法添加。请问是否需要做什么设置吗?
如下,从 enable开始往下的扩展属性都无法添加进去。
另外手机号,字段是什么?
curl -X POST -H "Content-Type: application/json" -d @data.json http://acip:9999/v1/user
{
"random": "25",
"md5": "d82f6f74891112d06b5b88073d29f6f9",
"name": "hello",
"father_path": "/hello/world",
"desc": "like",
"show_name": "wew1",
"enable": false,
"self_pass": {
"enable": true,
"password": "123456789",
"modify_once": false
},
"custom_cfg": {
"attr1": "13800138000"
},
"common_user": {
"allow_change": true,
"enable": true
}
} |