Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
查尔斯-BUG万象集
Continew Admin
提交
190385ed
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,发现更多精彩内容 >>
提交
190385ed
编写于
8月 15, 2023
作者:
查尔斯-BUG万象集
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: 完善公共模块相关接口文档信息
上级
90af86a0
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
15 addition
and
15 deletion
+15
-15
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/base/BaseDetailVO.java
.../java/top/charles7c/cnadmin/common/base/BaseDetailVO.java
+2
-2
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/base/BaseVO.java
...c/main/java/top/charles7c/cnadmin/common/base/BaseVO.java
+3
-3
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/query/SortQuery.java
...a/top/charles7c/cnadmin/common/model/query/SortQuery.java
+3
-3
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/request/UpdateStatusRequest.java
...s7c/cnadmin/common/model/request/UpdateStatusRequest.java
+1
-1
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/vo/CaptchaVO.java
...java/top/charles7c/cnadmin/common/model/vo/CaptchaVO.java
+3
-2
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/vo/LabelValueVO.java
...a/top/charles7c/cnadmin/common/model/vo/LabelValueVO.java
+2
-2
continew-admin-webapi/src/main/java/top/charles7c/cnadmin/webapi/controller/tool/GeneratorController.java
...c/cnadmin/webapi/controller/tool/GeneratorController.java
+1
-2
未找到文件。
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/base/BaseDetailVO.java
浏览文件 @
190385ed
...
...
@@ -45,14 +45,14 @@ public class BaseDetailVO extends BaseVO {
/**
* 修改人
*/
@Schema
(
description
=
"修改人"
)
@Schema
(
description
=
"修改人"
,
example
=
"李四"
)
@ExcelProperty
(
value
=
"修改人"
)
private
String
updateUserString
;
/**
* 修改时间
*/
@Schema
(
description
=
"修改时间"
)
@Schema
(
description
=
"修改时间"
,
example
=
"2023-08-08 08:08:08"
)
@ExcelProperty
(
value
=
"修改时间"
)
private
LocalDateTime
updateTime
;
}
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/base/BaseVO.java
浏览文件 @
190385ed
...
...
@@ -41,7 +41,7 @@ public class BaseVO implements Serializable {
/**
* ID
*/
@Schema
(
description
=
"ID"
)
@Schema
(
description
=
"ID"
,
example
=
"1"
)
@ExcelProperty
(
value
=
"ID"
)
private
Long
id
;
...
...
@@ -54,14 +54,14 @@ public class BaseVO implements Serializable {
/**
* 创建人
*/
@Schema
(
description
=
"创建人"
)
@Schema
(
description
=
"创建人"
,
example
=
"超级管理员"
)
@ExcelProperty
(
value
=
"创建人"
)
private
String
createUserString
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
@Schema
(
description
=
"创建时间"
,
example
=
"2023-08-08 08:08:08"
)
@ExcelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
...
...
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/query/SortQuery.java
浏览文件 @
190385ed
...
...
@@ -46,7 +46,7 @@ public class SortQuery implements Serializable {
/**
* 排序条件
*/
@Schema
(
description
=
"排序条件"
,
example
=
"
sort=published,desc&sort=title,a
sc"
)
@Schema
(
description
=
"排序条件"
,
example
=
"
createTime,de
sc"
)
private
String
[]
sort
;
/**
...
...
@@ -61,7 +61,7 @@ public class SortQuery implements Serializable {
List
<
Sort
.
Order
>
orders
=
new
ArrayList
<>(
sort
.
length
);
if
(
StrUtil
.
contains
(
sort
[
0
],
StringConsts
.
COMMA
))
{
// e.g "sort=
published,desc&sort=titl
e,asc"
// e.g "sort=
createTime,desc&sort=nam
e,asc"
for
(
String
s
:
sort
)
{
List
<
String
>
sortList
=
StrUtil
.
splitTrim
(
s
,
StringConsts
.
COMMA
);
Sort
.
Order
order
=
...
...
@@ -69,7 +69,7 @@ public class SortQuery implements Serializable {
orders
.
add
(
order
);
}
}
else
{
// e.g "sort=
published
,desc"
// e.g "sort=
createTime
,desc"
Sort
.
Order
order
=
new
Sort
.
Order
(
Sort
.
Direction
.
valueOf
(
sort
[
1
].
toUpperCase
()),
sort
[
0
]);
orders
.
add
(
order
);
}
...
...
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/request/UpdateStatusRequest.java
浏览文件 @
190385ed
...
...
@@ -41,7 +41,7 @@ public class UpdateStatusRequest implements Serializable {
/**
* 状态(1启用 2禁用)
*/
@Schema
(
description
=
"状态(1启用 2禁用)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
})
@Schema
(
description
=
"状态(1启用 2禁用)"
,
type
=
"Integer"
,
allowableValues
=
{
"1"
,
"2"
}
,
example
=
"1"
)
@NotNull
(
message
=
"状态非法"
)
private
DisEnableStatusEnum
status
;
}
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/vo/CaptchaVO.java
浏览文件 @
190385ed
...
...
@@ -39,12 +39,13 @@ public class CaptchaVO implements Serializable {
/**
* 验证码标识
*/
@Schema
(
description
=
"验证码标识"
)
@Schema
(
description
=
"验证码标识"
,
example
=
"8a5a0296acd141a8b1bd789da867bc1a"
)
private
String
uuid
;
/**
* 验证码图片(Base64编码,带图片格式:data:image/gif;base64)
*/
@Schema
(
description
=
"验证码图片(Base64编码,带图片格式:data:image/gif;base64)"
)
@Schema
(
description
=
"验证码图片(Base64编码,带图片格式:data:image/gif;base64)"
,
example
=
"data:image/png;base64,iVBORw0KGgoAAAAN..."
)
private
String
img
;
}
continew-admin-common/src/main/java/top/charles7c/cnadmin/common/model/vo/LabelValueVO.java
浏览文件 @
190385ed
...
...
@@ -40,13 +40,13 @@ public class LabelValueVO<V> implements Serializable {
/**
* 标签
*/
@Schema
(
description
=
"标签"
)
@Schema
(
description
=
"标签"
,
example
=
"男"
)
private
String
label
;
/**
* 值
*/
@Schema
(
description
=
"值"
)
@Schema
(
description
=
"值"
,
example
=
"1"
)
private
V
value
;
public
LabelValueVO
(
String
label
,
V
value
)
{
...
...
continew-admin-webapi/src/main/java/top/charles7c/cnadmin/webapi/controller/tool/GeneratorController.java
浏览文件 @
190385ed
...
...
@@ -68,8 +68,7 @@ public class GeneratorController {
@Parameters
({
@Parameter
(
name
=
"tableName"
,
description
=
"表名称"
,
required
=
true
,
example
=
"sys_user"
,
in
=
ParameterIn
.
PATH
),
@Parameter
(
name
=
"requireSync"
,
description
=
"是否需要同步"
,
example
=
"true"
,
in
=
ParameterIn
.
QUERY
)})
@Parameter
(
name
=
"requireSync"
,
description
=
"是否需要同步"
,
example
=
"true"
,
in
=
ParameterIn
.
QUERY
)})
@GetMapping
(
"/field/{tableName}"
)
public
R
<
List
<
FieldConfigDO
>>
listFieldConfig
(
@PathVariable
String
tableName
,
@RequestParam
(
required
=
false
,
defaultValue
=
"false"
)
Boolean
requireSync
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录