mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
update: uni-id-user 完善表单生成
This commit is contained in:
parent
0d83324a46
commit
8c6eec6403
@ -23,21 +23,32 @@
|
||||
},
|
||||
"gender": {
|
||||
"bsonType": "int",
|
||||
"minimum": 0,
|
||||
"maximum": 2,
|
||||
"title": "性别",
|
||||
"description": "用户性别:0 未知 1 男性 2 女性"
|
||||
"description": "用户性别:0 未知 1 男性 2 女性",
|
||||
"defaultValue": 0,
|
||||
"component": {
|
||||
"name": "radio-group",
|
||||
"childrenData": [{
|
||||
"label": "未知",
|
||||
"value": 0
|
||||
}, {
|
||||
"label": "男",
|
||||
"value": 1
|
||||
}, {
|
||||
"label": "女",
|
||||
"value": 2
|
||||
}]
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"bsonType": "int",
|
||||
"minimum": 0,
|
||||
"maximum": 3,
|
||||
"description": "用户状态:0 正常 1 禁用 2 审核中 3 审核拒绝"
|
||||
},
|
||||
"mobile": {
|
||||
"bsonType": "string",
|
||||
"title": "手机号码",
|
||||
"description": "手机号码"
|
||||
"description": "手机号码",
|
||||
"pattern": "^\\+?[0-9-]{3,20}$"
|
||||
},
|
||||
"mobile_confirmed": {
|
||||
"bsonType": "int",
|
||||
@ -47,6 +58,7 @@
|
||||
},
|
||||
"email": {
|
||||
"bsonType": "string",
|
||||
"format": "email",
|
||||
"title": "邮箱",
|
||||
"description": "邮箱地址"
|
||||
},
|
||||
@ -161,7 +173,7 @@
|
||||
"bsonType": "string",
|
||||
"description": "注册时 IP 地址",
|
||||
"forceDefaultValue": {
|
||||
"$env": "ip"
|
||||
"$env": "clientIP"
|
||||
}
|
||||
},
|
||||
"last_login_date": {
|
||||
|
Loading…
Reference in New Issue
Block a user