Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
查尔斯-BUG万象集
Continew Admin
提交
6a35c00b
Continew Admin
项目概览
查尔斯-BUG万象集
/
Continew Admin
10 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
分析
仓库
DevOps
项目成员
Pages
Continew Admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6a35c00b
编写于
8月 15, 2023
作者:
查尔斯-BUG万象集
提交者:
GitHub
8月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #8 from Bull-BCLS/dev
docs: 完善系统监控模块相关接口文档信息
上级
fa916b93
0ac02136
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
42 addition
and
42 deletion
+42
-42
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/LoginLogQuery.java
.../charles7c/cnadmin/monitor/model/query/LoginLogQuery.java
+2
-2
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/OperationLogQuery.java
...rles7c/cnadmin/monitor/model/query/OperationLogQuery.java
+4
-4
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/SystemLogQuery.java
...charles7c/cnadmin/monitor/model/query/SystemLogQuery.java
+1
-1
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/LogVO.java
...in/java/top/charles7c/cnadmin/monitor/model/vo/LogVO.java
+3
-3
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/LoginLogVO.java
...va/top/charles7c/cnadmin/monitor/model/vo/LoginLogVO.java
+5
-5
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/OperationLogVO.java
...op/charles7c/cnadmin/monitor/model/vo/OperationLogVO.java
+6
-6
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/SystemLogDetailVO.java
...charles7c/cnadmin/monitor/model/vo/SystemLogDetailVO.java
+11
-11
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/SystemLogVO.java
...a/top/charles7c/cnadmin/monitor/model/vo/SystemLogVO.java
+7
-7
continew-admin-system/src/main/java/top/charles7c/cnadmin/auth/model/vo/UserInfoVO.java
.../java/top/charles7c/cnadmin/auth/model/vo/UserInfoVO.java
+3
-3
未找到文件。
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/LoginLogQuery.java
浏览文件 @
6a35c00b
...
...
@@ -46,14 +46,14 @@ public class LoginLogQuery implements Serializable {
/**
* 登录状态(1:成功,2:失败)
*/
@Schema
(
description
=
"登录状态(1:成功,2:失败)"
)
@Schema
(
description
=
"登录状态(1:成功,2:失败)"
,
example
=
"1"
)
@Query
private
Integer
status
;
/**
* 登录时间
*/
@Schema
(
description
=
"登录时间"
)
@Schema
(
description
=
"登录时间"
,
example
=
"2023-08-08 00:00:00,2023-08-08 23:59:59"
)
@Query
(
type
=
QueryTypeEnum
.
BETWEEN
)
@DateTimeFormat
(
pattern
=
DatePattern
.
NORM_DATETIME_PATTERN
)
private
List
<
Date
>
createTime
;
...
...
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/OperationLogQuery.java
浏览文件 @
6a35c00b
...
...
@@ -46,21 +46,21 @@ public class OperationLogQuery implements Serializable {
/**
* 操作内容
*/
@Schema
(
description
=
"操作内容"
)
@Schema
(
description
=
"操作内容"
,
example
=
"新增数据"
)
@Query
(
type
=
QueryTypeEnum
.
INNER_LIKE
)
private
String
description
;
/**
* 操作状态(1:成功,2:失败)
*/
@Schema
(
description
=
"操作状态(1:成功,2:失败)"
)
@Schema
(
description
=
"操作状态(1:成功,2:失败)"
,
example
=
"1"
)
@Query
private
Integer
status
;
/**
* 操作时间
*/
@Schema
(
description
=
"操作时间"
)
@Schema
(
description
=
"操作时间"
,
example
=
"2023-08-08 00:00:00,2023-08-08 23:59:59"
)
@Query
(
type
=
QueryTypeEnum
.
BETWEEN
)
@DateTimeFormat
(
pattern
=
DatePattern
.
NORM_DATETIME_PATTERN
)
private
List
<
Date
>
createTime
;
...
...
@@ -68,7 +68,7 @@ public class OperationLogQuery implements Serializable {
/**
* 操作人
*/
@Schema
(
description
=
"操作人"
)
@Schema
(
description
=
"操作人"
,
example
=
"张三"
)
@Query
(
property
=
"createUser"
)
private
Long
uid
;
}
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/query/SystemLogQuery.java
浏览文件 @
6a35c00b
...
...
@@ -46,7 +46,7 @@ public class SystemLogQuery implements Serializable {
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
@Schema
(
description
=
"创建时间"
,
example
=
"2023-08-08 00:00:00,2023-08-08 23:59:59"
)
@Query
(
type
=
QueryTypeEnum
.
BETWEEN
)
@DateTimeFormat
(
pattern
=
DatePattern
.
NORM_DATETIME_PATTERN
)
private
List
<
Date
>
createTime
;
...
...
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/LogVO.java
浏览文件 @
6a35c00b
...
...
@@ -39,7 +39,7 @@ public class LogVO implements Serializable {
/**
* ID
*/
@Schema
(
description
=
"ID"
)
@Schema
(
description
=
"ID"
,
example
=
"1"
)
private
Long
id
;
/**
...
...
@@ -51,12 +51,12 @@ public class LogVO implements Serializable {
/**
* 创建人
*/
@Schema
(
description
=
"创建人"
)
@Schema
(
description
=
"创建人"
,
example
=
"张三"
)
private
String
createUserString
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
@Schema
(
description
=
"创建时间"
,
example
=
"2023-08-08 08:08:08"
)
private
LocalDateTime
createTime
;
}
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/LoginLogVO.java
浏览文件 @
6a35c00b
...
...
@@ -37,31 +37,31 @@ public class LoginLogVO extends LogVO {
/**
* 登录行为
*/
@Schema
(
description
=
"登录行为"
)
@Schema
(
description
=
"登录行为"
,
example
=
"用户登录"
)
private
String
description
;
/**
* 登录状态(1:成功,2:失败)
*/
@Schema
(
description
=
"登录状态(1:成功,2:失败)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
})
@Schema
(
description
=
"登录状态(1:成功,2:失败)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
}
,
example
=
"1"
)
private
LogStatusEnum
status
;
/**
* 登录 IP
*/
@Schema
(
description
=
"登录 IP"
)
@Schema
(
description
=
"登录 IP"
,
example
=
"192.168.0.1"
)
private
String
clientIp
;
/**
* 登录地点
*/
@Schema
(
description
=
"登录地点"
)
@Schema
(
description
=
"登录地点"
,
example
=
"中国北京北京市"
)
private
String
location
;
/**
* 浏览器
*/
@Schema
(
description
=
"浏览器"
)
@Schema
(
description
=
"浏览器"
,
example
=
"Chrome 115.0.0.0"
)
private
String
browser
;
/**
...
...
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/OperationLogVO.java
浏览文件 @
6a35c00b
...
...
@@ -37,37 +37,37 @@ public class OperationLogVO extends LogVO {
/**
* 操作内容
*/
@Schema
(
description
=
"操作内容"
)
@Schema
(
description
=
"操作内容"
,
example
=
"新增数据"
)
private
String
description
;
/**
* 所属模块
*/
@Schema
(
description
=
"所属模块"
)
@Schema
(
description
=
"所属模块"
,
example
=
"部门管理"
)
private
String
module
;
/**
* 操作状态(1成功 2失败)
*/
@Schema
(
description
=
"操作状态(1:成功,2:失败)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
})
@Schema
(
description
=
"操作状态(1:成功,2:失败)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
}
,
example
=
"1"
)
private
LogStatusEnum
status
;
/**
* 操作IP
*/
@Schema
(
description
=
"操作IP"
)
@Schema
(
description
=
"操作IP"
,
example
=
"192.168.0.1"
)
private
String
clientIp
;
/**
* 操作地点
*/
@Schema
(
description
=
"操作地点"
)
@Schema
(
description
=
"操作地点"
,
example
=
"中国北京北京市"
)
private
String
location
;
/**
* 浏览器
*/
@Schema
(
description
=
"浏览器"
)
@Schema
(
description
=
"浏览器"
,
example
=
"Chrome 115.0.0.0"
)
private
String
browser
;
/**
...
...
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/SystemLogDetailVO.java
浏览文件 @
6a35c00b
...
...
@@ -35,66 +35,66 @@ public class SystemLogDetailVO extends LogVO {
/**
* 状态码
*/
@Schema
(
description
=
"状态码"
)
@Schema
(
description
=
"状态码"
,
example
=
"200"
)
private
Integer
statusCode
;
/**
* 请求方式
*/
@Schema
(
description
=
"请求方式"
)
@Schema
(
description
=
"请求方式"
,
example
=
"POST"
)
private
String
requestMethod
;
/**
* 请求 URL
*/
@Schema
(
description
=
"请求 URL"
)
@Schema
(
description
=
"请求 URL"
,
example
=
"http://api.charles7c.top/system/dept"
)
private
String
requestUrl
;
/**
* 请求头
*/
@Schema
(
description
=
"请求头"
)
@Schema
(
description
=
"请求头"
,
example
=
"{\"Origin\": \"https://cnadmin.charles7c.top\",...}"
)
private
String
requestHeaders
;
/**
* 请求体
*/
@Schema
(
description
=
"请求体"
)
@Schema
(
description
=
"请求体"
,
example
=
"{\"name\": \"测试部\",...}"
)
private
String
requestBody
;
/**
* 响应头
*/
@Schema
(
description
=
"响应头"
)
@Schema
(
description
=
"响应头"
,
example
=
"{\"Content-Type\": [\"application/json\"],...}"
)
private
String
responseHeaders
;
/**
* 响应体
*/
@Schema
(
description
=
"响应体"
)
@Schema
(
description
=
"响应体"
,
example
=
"{\"success\":true},..."
)
private
String
responseBody
;
/**
* 客户端IP
*/
@Schema
(
description
=
"客户端IP"
)
@Schema
(
description
=
"客户端IP"
,
example
=
"192.168.0.1"
)
private
String
clientIp
;
/**
* IP归属地
*/
@Schema
(
description
=
"IP归属地"
)
@Schema
(
description
=
"IP归属地"
,
example
=
"中国北京北京市"
)
private
String
location
;
/**
* 浏览器
*/
@Schema
(
description
=
"浏览器"
)
@Schema
(
description
=
"浏览器"
,
example
=
"Chrome 115.0.0.0"
)
private
String
browser
;
/**
* 请求耗时(ms)
*/
@Schema
(
description
=
"请求耗时(ms)"
)
@Schema
(
description
=
"请求耗时(ms)"
,
example
=
"58"
)
private
Long
elapsedTime
;
}
continew-admin-monitor/src/main/java/top/charles7c/cnadmin/monitor/model/vo/SystemLogVO.java
浏览文件 @
6a35c00b
...
...
@@ -35,43 +35,43 @@ public class SystemLogVO extends LogVO {
/**
* 状态码
*/
@Schema
(
description
=
"状态码"
)
@Schema
(
description
=
"状态码"
,
example
=
"200"
)
private
Integer
statusCode
;
/**
* 请求方式
*/
@Schema
(
description
=
"请求方式"
)
@Schema
(
description
=
"请求方式"
,
example
=
"POST"
)
private
String
requestMethod
;
/**
* 请求 URL
*/
@Schema
(
description
=
"请求 URL"
)
@Schema
(
description
=
"请求 URL"
,
example
=
"http://api.charles7c.top/system/dept"
)
private
String
requestUrl
;
/**
* 客户端IP
*/
@Schema
(
description
=
"客户端IP"
)
@Schema
(
description
=
"客户端IP"
,
example
=
"192.168.0.1"
)
private
String
clientIp
;
/**
* IP归属地
*/
@Schema
(
description
=
"IP归属地"
)
@Schema
(
description
=
"IP归属地"
,
example
=
"中国北京北京市"
)
private
String
location
;
/**
* 浏览器
*/
@Schema
(
description
=
"浏览器"
)
@Schema
(
description
=
"浏览器"
,
example
=
"Chrome 115.0.0.0"
)
private
String
browser
;
/**
* 请求耗时(ms)
*/
@Schema
(
description
=
"请求耗时(ms)"
)
@Schema
(
description
=
"请求耗时(ms)"
,
example
=
"58"
)
private
Long
elapsedTime
;
/**
...
...
continew-admin-system/src/main/java/top/charles7c/cnadmin/auth/model/vo/UserInfoVO.java
浏览文件 @
6a35c00b
...
...
@@ -89,7 +89,7 @@ public class UserInfoVO implements Serializable {
/**
* 描述
*/
@Schema
(
description
=
"描述"
,
example
=
"张三
用户
"
)
@Schema
(
description
=
"描述"
,
example
=
"张三
描述信息
"
)
private
String
description
;
/**
...
...
@@ -126,13 +126,13 @@ public class UserInfoVO implements Serializable {
/**
* 权限码集合
*/
@Schema
(
description
=
"权限码集合"
,
example
=
"[
system:user:list,system:user:add
]"
)
@Schema
(
description
=
"权限码集合"
,
example
=
"[
\"system:user:list\",\"system:user:add\"
]"
)
private
Set
<
String
>
permissions
;
/**
* 角色编码集合
*/
@Schema
(
description
=
"角色编码集合"
,
example
=
"[
admin,test
]"
)
@Schema
(
description
=
"角色编码集合"
,
example
=
"[
\"test\"
]"
)
private
Set
<
String
>
roles
;
public
String
getPhone
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录