Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
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
shenjunjie
brandkbs2
Commits
37b62a54
Commit
37b62a54
authored
Jul 08, 2022
by
shenjunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改test方法访问路径
parent
a5619849
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
10 deletions
+15
-10
src/main/java/com/zhiwei/brandkbs2/controller/CommonController.java
+0
-6
src/main/java/com/zhiwei/brandkbs2/controller/LoginController.java
+6
-0
src/main/resources/application-dev.properties
+3
-0
src/main/resources/application-local.properties
+3
-0
src/main/resources/application-prod.properties
+3
-0
src/main/resources/application.properties
+0
-4
No files found.
src/main/java/com/zhiwei/brandkbs2/controller/CommonController.java
View file @
37b62a54
...
@@ -67,10 +67,4 @@ public class CommonController extends BaseController {
...
@@ -67,10 +67,4 @@ public class CommonController extends BaseController {
return
ResponseResult
.
success
(
projectService
.
getUserAllProjects
());
return
ResponseResult
.
success
(
projectService
.
getUserAllProjects
());
}
}
@ApiOperation
(
"测试接口"
)
@GetMapping
(
"/test"
)
public
ResponseResult
test
()
{
return
ResponseResult
.
success
(
"true"
);
}
}
}
src/main/java/com/zhiwei/brandkbs2/controller/LoginController.java
View file @
37b62a54
...
@@ -92,5 +92,11 @@ public class LoginController extends BaseController {
...
@@ -92,5 +92,11 @@ public class LoginController extends BaseController {
return
ResponseResult
.
success
(
iProjectService
.
getLoginUserAllProjects
());
return
ResponseResult
.
success
(
iProjectService
.
getLoginUserAllProjects
());
}
}
@ApiOperation
(
"测试接口"
)
@GetMapping
(
"/test"
)
public
ResponseResult
test
()
{
return
ResponseResult
.
success
(
"brandkbs2-success 2022/7/8"
);
}
}
}
src/main/resources/application-dev.properties
View file @
37b62a54
application.name
=
brandkbs2
application.name
=
brandkbs2
server.port
=
8888
spring.flyway.encoding
=
UTF-8
server.servlet.context-path
=
/brandkbs
#jwt
#jwt
jwt.key
=
Token
jwt.key
=
Token
jwt.hour
=
120
jwt.hour
=
120
...
...
src/main/resources/application-local.properties
View file @
37b62a54
application.name
=
brandkbs2
application.name
=
brandkbs2
server.port
=
8888
spring.flyway.encoding
=
UTF-8
server.servlet.context-path
=
/brandkbs
#jwt
#jwt
jwt.key
=
Token
jwt.key
=
Token
jwt.hour
=
120
jwt.hour
=
120
...
...
src/main/resources/application-prod.properties
View file @
37b62a54
application.name
=
brandkbs2
application.name
=
brandkbs2
server.port
=
8888
spring.flyway.encoding
=
UTF-8
server.servlet.context-path
=
/brandkbs
#jwt
#jwt
jwt.key
=
Token
jwt.key
=
Token
...
...
src/main/resources/application.properties
View file @
37b62a54
server.port
=
8888
spring.profiles.active
=
pro
spring.profiles.active
=
pro
spring.flyway.encoding
=
UTF-8
server.servlet.context-path
=
/brandkbs
\ No newline at end of file
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