更新数据库,增加apifox实体json
This commit is contained in:
76
schoolNewsServ/.doc/apifox/domain/dto/TbSysLoginLog.json
Normal file
76
schoolNewsServ/.doc/apifox/domain/dto/TbSysLoginLog.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "TbSysLoginLog",
|
||||
"description": "系统登录日志信息",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "BaseDTO.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"userID": {
|
||||
"type": "string",
|
||||
"description": "用户ID",
|
||||
"example": "1234567890123456789"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"description": "用户名",
|
||||
"example": "admin"
|
||||
},
|
||||
"ipAddress": {
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"description": "登录IP地址",
|
||||
"example": "192.168.1.100"
|
||||
},
|
||||
"ipSource": {
|
||||
"type": "string",
|
||||
"description": "IP来源",
|
||||
"example": "北京市"
|
||||
},
|
||||
"browser": {
|
||||
"type": "string",
|
||||
"description": "浏览器类型",
|
||||
"example": "Chrome"
|
||||
},
|
||||
"os": {
|
||||
"type": "string",
|
||||
"description": "操作系统",
|
||||
"example": "Windows 10"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "登录密码",
|
||||
"example": "******"
|
||||
},
|
||||
"loginTime": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "登录时间",
|
||||
"example": "2025-10-05T16:00:00Z"
|
||||
},
|
||||
"status": {
|
||||
"type": "integer",
|
||||
"description": "登录状态(0-失败,1-成功)",
|
||||
"enum": [0, 1],
|
||||
"example": 1
|
||||
},
|
||||
"errorCount": {
|
||||
"type": "integer",
|
||||
"description": "错误次数",
|
||||
"minimum": 0,
|
||||
"example": 0
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "登录消息",
|
||||
"example": "登录成功"
|
||||
}
|
||||
},
|
||||
"required": ["userID", "username", "ipAddress", "loginTime", "status"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user