Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
appbuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
appbuild
Commits
c5c3cd9a
Commit
c5c3cd9a
authored
Sep 20, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加apipost生成接口文档逻辑
parent
e3d31180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
appbuild-manager/src/main/java/com/mortals/xhx/common/utils/GenUtils.java
.../src/main/java/com/mortals/xhx/common/utils/GenUtils.java
+5
-3
No files found.
appbuild-manager/src/main/java/com/mortals/xhx/common/utils/GenUtils.java
View file @
c5c3cd9a
...
@@ -143,12 +143,14 @@ public class GenUtils {
...
@@ -143,12 +143,14 @@ public class GenUtils {
// || StringUtils.endsWithIgnoreCase(columnName, "sex")) {
// || StringUtils.endsWithIgnoreCase(columnName, "sex")) {
// column.setHtmlType(HtmlTypeEnum.HTML_SELECT.getValue());
// column.setHtmlType(HtmlTypeEnum.HTML_SELECT.getValue());
// }
// }
// 图片字段设置图片上传控件
// 图片字段设置图片上传控件logoPath
else
if
(
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"imagepath"
))
{
else
if
(
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"imagepath"
)
||
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"picpath"
)
||
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"logoPath"
))
{
column
.
setHtmlType
(
HtmlTypeEnum
.
HTML_IMAGE_UPLOAD
.
getValue
());
column
.
setHtmlType
(
HtmlTypeEnum
.
HTML_IMAGE_UPLOAD
.
getValue
());
}
}
// 文件字段设置文件上传控件
// 文件字段设置文件上传控件
else
if
(
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"filepath"
))
{
else
if
(
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"filepath"
)
||
StringUtils
.
endsWithIgnoreCase
(
columnName
.
toLowerCase
(),
"videopath"
)
)
{
column
.
setHtmlType
(
HtmlTypeEnum
.
HTML_FILE_UPLOAD
.
getValue
());
column
.
setHtmlType
(
HtmlTypeEnum
.
HTML_FILE_UPLOAD
.
getValue
());
}
}
// 内容字段设置富文本控件
// 内容字段设置富文本控件
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment