Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
余保谷
ydl-generator
Commits
8fc03644
Commit
8fc03644
authored
Apr 15, 2019
by
flying-cattle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动获取port
parent
84892b63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
SwaggerConfig.ftl
src/main/resources/freemarker/ftl/SwaggerConfig.ftl
+1
-1
No files found.
src/main/resources/freemarker/ftl/SwaggerConfig.ftl
View file @
8fc03644
...
@@ -28,7 +28,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
...
@@ -28,7 +28,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@
EnableSwagger2
@
EnableSwagger2
public
class
SwaggerConfig
{
public
class
SwaggerConfig
{
@
Value
(
"${
server.port
}"
)
@
Value
(
"${
r'${server.port}'
}"
)
private
static
String
port
;
private
static
String
port
;
public
static
String
CONTROLLER_URL
=
"${controllerUrl}"
;
//
Swagger
扫描的接口路径
public
static
String
CONTROLLER_URL
=
"${controllerUrl}"
;
//
Swagger
扫描的接口路径
...
...
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