Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
4488db9e
Commit
4488db9e
authored
Sep 16, 2019
by
李秋伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
屏蔽默认swaager-ui See merge request mall/arch/matrix!22
parents
20320e5f
460a1019
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
413 additions
and
0 deletions
+413
-0
pom.xml
protocol-starter/pom.xml
+9
-0
index.html
protocol-starter/src/main/static/swagger/index.html
+404
-0
No files found.
protocol-starter/pom.xml
View file @
4488db9e
...
@@ -58,4 +58,12 @@
...
@@ -58,4 +58,12 @@
</dependencies>
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/static/
</directory>
<targetPath>
META-INF/resources/
</targetPath>
</resource>
</resources>
</build>
</project>
</project>
\ No newline at end of file
protocol-starter/src/main/static/swagger/index.html
0 → 100644
View file @
4488db9e
<!DOCTYPE html>
<html>
<head>
<title>
appms
</title>
<meta
charset=
"utf-8"
/>
<style>
@charset
"UTF-8"
;
html
,
body
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
p
,
blockquote
{
margin
:
0
;
padding
:
0
;
font-weight
:
normal
;
-webkit-font-smoothing
:
antialiased
;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar
{
width
:
6px
;
}
/* 外层轨道 */
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset006pxrgba
(
255
,
0
,
0
,
0.3
);
background
:
rgba
(
0
,
0
,
0
,
0.1
);
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset006pxrgba
(
0
,
0
,
0
,
0.5
);
}
::-webkit-scrollbar-thumb:window-inactive
{
background
:
rgba
(
0
,
0
,
0
,
0.2
);
}
body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
SimSun
,
sans-serif
;
font-size
:
13px
;
line-height
:
25px
;
color
:
#393838
;
position
:
relative
;
}
table
{
margin
:
10px
0
15px
0
;
border-collapse
:
collapse
;
}
td
,
th
{
border
:
1px
solid
#ddd
;
padding
:
3px
10px
;
}
th
{
padding
:
5px
10px
;
}
a
,
a
:link
,
a
:visited
{
color
:
#34495e
;
text-decoration
:
none
;
}
a
:hover
,
a
:focus
{
color
:
#59d69d
;
text-decoration
:
none
;
}
a
img
{
border
:
none
;
}
p
{
padding-left
:
10px
;
margin-bottom
:
9px
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#404040
;
line-height
:
36px
;
}
h1
{
color
:
#2c3e50
;
font-weight
:
600
;
margin-bottom
:
16px
;
font-size
:
32px
;
padding-bottom
:
16px
;
border-bottom
:
1px
solid
#ddd
;
line-height
:
50px
;
}
h2
{
font-size
:
28px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
}
h3
{
clear
:
both
;
font-weight
:
400
;
margin-top
:
20px
;
margin-bottom
:
20px
;
border-left
:
3px
solid
#59d69d
;
padding-left
:
8px
;
font-size
:
18px
;
}
h4
{
font-size
:
16px
;
}
h5
{
font-size
:
14px
;
}
h6
{
font-size
:
13px
;
}
hr
{
margin
:
0
0
19px
;
border
:
0
;
border-bottom
:
1px
solid
#ccc
;
}
blockquote
{
padding
:
13px
13px
21px
15px
;
margin-bottom
:
18px
;
font-family
:
georgia
,
serif
;
font-style
:
italic
;
}
blockquote
:before
{
font-size
:
40px
;
margin-left
:
-10px
;
font-family
:
georgia
,
serif
;
color
:
#eee
;
}
blockquote
p
{
font-size
:
14px
;
font-weight
:
300
;
line-height
:
18px
;
margin-bottom
:
0
;
font-style
:
italic
;
}
code
,
pre
{
font-family
:
Monaco
,
Andale
Mono
,
Courier
New
,
monospace
;
}
code
{
background-color
:
#fee9cc
;
color
:
rgba
(
0
,
0
,
0
,
0.75
);
padding
:
1px
3px
;
font-size
:
12px
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
}
pre
{
display
:
block
;
padding
:
14px
;
margin
:
0
0
18px
;
line-height
:
16px
;
font-size
:
11px
;
border
:
1px
solid
#d9d9d9
;
white-space
:
pre-wrap
;
word-wrap
:
break-word
;
background
:
#f6f6f6
;
}
pre
code
{
background-color
:
#f6f6f6
;
color
:
#737373
;
font-size
:
11px
;
padding
:
0
;
}
sup
{
font-size
:
0.83em
;
vertical-align
:
super
;
line-height
:
0
;
}
*
{
-webkit-print-color-adjust
:
exact
;
}
@media
print
{
body
,
code
,
pre
code
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
black
;
}
table
,
pre
{
page-break-inside
:
avoid
;
}
}
html
,
body
{
height
:
100%
;
}
.table-of-contents
{
position
:
fixed
;
top
:
61px
;
left
:
0
;
bottom
:
0
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
width
:
260px
;
}
.table-of-contents
>
ul
>
li
>
a
{
font-size
:
20px
;
margin-bottom
:
16px
;
margin-top
:
16px
;
}
.table-of-contents
ul
{
overflow
:
auto
;
margin
:
0px
;
height
:
100%
;
padding
:
0px
0px
;
box-sizing
:
border-box
;
list-style-type
:
none
;
}
.table-of-contents
ul
li
{
padding-left
:
20px
;
}
.table-of-contents
a
{
padding
:
2px
0px
;
display
:
block
;
text-decoration
:
none
;
}
.content-right
{
max-width
:
700px
;
margin-left
:
290px
;
padding-left
:
70px
;
flex-grow
:
1
;
}
.content-right
h2
:target
{
padding-top
:
80px
;
}
body
>
p
{
margin-left
:
30px
;
}
body
>
table
{
margin-left
:
30px
;
}
body
>
pre
{
margin-left
:
30px
;
}
.curProject
{
position
:
fixed
;
top
:
20px
;
font-size
:
25px
;
color
:
black
;
margin-left
:
-240px
;
width
:
240px
;
padding
:
5px
;
line-height
:
25px
;
box-sizing
:
border-box
;
}
.g-doc
{
margin-top
:
56px
;
padding-top
:
24px
;
display
:
flex
;
}
.curproject-name
{
font-size
:
42px
;
}
.m-header
{
background
:
#32363a
;
height
:
56px
;
line-height
:
56px
;
padding-left
:
60px
;
display
:
flex
;
align-items
:
center
;
position
:
fixed
;
z-index
:
9
;
top
:
0
;
left
:
0
;
right
:
0
;
}
.m-header
.title
{
font-size
:
22px
;
color
:
#fff
;
font-weight
:
normal
;
-webkit-font-smoothing
:
antialiased
;
margin
:
0
;
margin-left
:
16px
;
padding
:
0
;
line-height
:
56px
;
border
:
none
;
}
.m-header
.nav
{
color
:
#fff
;
font-size
:
16px
;
position
:
absolute
;
right
:
32px
;
top
:
0
;
}
.m-header
.nav
a
{
color
:
#fff
;
margin-left
:
16px
;
padding
:
8px
;
transition
:
color
.2s
;
}
.m-header
.nav
a
:hover
{
color
:
#59d69d
;
}
.m-footer
{
border-top
:
1px
solid
#ddd
;
padding-top
:
16px
;
padding-bottom
:
16px
;
}
/*# sourceMappingURL=defaultTheme.css.map */
</style>
</head>
<body>
<div
class=
"m-header"
>
<a
href=
"#"
style=
"display: inherit;"
><svg
class=
"svg"
width=
"32px"
height=
"32px"
viewBox=
"0 0 64 64"
version=
"1.1"
><title>
Icon
</title><desc>
Created with Sketch.
</desc><defs><linearGradient
x1=
"50%"
y1=
"0%"
x2=
"50%"
y2=
"100%"
id=
"linearGradient-1"
><stop
stop-color=
"#FFFFFF"
offset=
"0%"
></stop><stop
stop-color=
"#F2F2F2"
offset=
"100%"
></stop>
</linearGradient>
</a>
<a
href=
"#"
><h1
class=
"title"
>
接口文档管理说明
</h1></a>
</div>
<div
class=
"g-doc"
>
<div
class=
"table-of-contents"
><ul><li><a
href=
"#"
>
功能列表
</a><ul><li><a
href=
"#20u6839u636eidu5220u96640a3ca20id3d20u6839u636eidu5220u96643e203ca3e"
>
介绍
</a><a
id=
"介绍"
>
</a></li>
<li><a
href=
"#u521bu5efau9879u76eeu7528u6237u5bf9u5e94u5173u7cfb0a3ca20id3du521bu5efau9879u76eeu7528u6237u5bf9u5e94u5173u7cfb3e203ca3e"
>
导出数据
</a><a
id=
"导出数据"
>
</a></li><li><a
href=
"#u6839u636eu5e94u7528idu67e5u8be2u7528u6237u4fe1u606f0a3ca20id3du6839u636eu5e94u7528idu67e5u8be2u7528u6237u4fe1u606f3e203ca3e"
>
导入数据
</a><a
id=
"导入数据"
>
</a></li>
</ul></li></ul></div>
<div
id=
"right"
class=
"content-right"
>
<h2
id=
"20u6839u636eidu5220u96640a3ca20id3d20u6839u636eidu5220u96643e203ca3e"
>
介绍
<a
id=
"介绍"
>
</a></h2>
<p></p>
<h3
id=
""
>
为方便大家管理接口,提高接口编写、团队开发效率,通过封装swagger,支持web、dubbo接口的导出。导出后,为方便大家集中管理,
请登录
<a
href=
"https://apims.siku.cn"
target=
"_blank"
>
http://apims.siku.cn
</a>
,进行导入!
</h3>
<h2
id=
"u521bu5efau9879u76eeu7528u6237u5bf9u5e94u5173u7cfb0a3ca20id3du521bu5efau9879u76eeu7528u6237u5bf9u5e94u5173u7cfb3e203ca3e"
>
导出数据
<a
id=
"导出数据"
>
</a></h2>
<p></p>
<h3
id=
"-4"
>
导出web接口
</h3>
<p><strong>
说明:
</strong>
由Controller生成的接口
</p>
<p>
点击
<strong><a
href=
"../v2/api-docs?group=web"
>
此处
</a></strong>
导出
<h3
id=
"-5"
>
导出dubbo接口
</h3>
<p><strong>
说明:
</strong>
由Dubbbo生成的接口
</p>
<p>
点击
<strong><a
href=
"../swagger-dubbo/api-docs"
>
此处
</a></strong>
导出
<h2
id=
"u6839u636eu5e94u7528idu67e5u8be2u7528u6237u4fe1u606f0a3ca20id3du6839u636eu5e94u7528idu67e5u8be2u7528u6237u4fe1u606f3e203ca3e"
>
导入数据
<a
id=
"导入数据"
>
</a></h2>
<p></p>
<h3
id=
"-7"
>
登录接口管理平台,选择项目后,依次选择数据管理>swagger。
</h3>
<p><strong>
注意:
</strong><font
color=
red
>
数据同步方式,如果接口需要追加,请选择“普通模式”。
</font></p>
<footer
class=
"m-footer"
>
<p>
Manage by
<a
href=
"https://apims.siku.cn"
target=
"_blank"
>
APIMS
</a>
.
</p>
</footer>
</div>
</div>
</body>
</html>
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