更新数据库,增加apifox实体json

This commit is contained in:
2025-10-06 16:19:35 +08:00
parent 1970865acb
commit a3e8687b31
20 changed files with 936 additions and 29 deletions

View File

@@ -0,0 +1,54 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TbSysUser",
"description": "系统用户信息",
"type": "object",
"allOf": [
{
"$ref": "BaseDTO.json"
},
{
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "用户名",
"minLength": 1,
"maxLength": 50,
"example": "admin"
},
"password": {
"type": "string",
"description": "密码",
"minLength": 6,
"maxLength": 20,
"example": "123456"
},
"email": {
"type": "string",
"format": "email",
"description": "邮箱",
"example": "admin@example.com"
},
"phone": {
"type": "string",
"pattern": "^1[3-9]\\d{9}$",
"description": "手机号",
"example": "13800138000"
},
"wechatID": {
"type": "string",
"description": "微信号",
"example": "wx_123456789"
},
"status": {
"type": "integer",
"description": "用户状态",
"enum": [0, 1],
"example": 1
}
},
"required": ["username", "password", "email", "phone", "status"]
}
]
}