Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-wx-store-sharer
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
wx
yanxuan-wx-store-sharer
Commits
bb0b8719
Commit
bb0b8719
authored
Mar 12, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码初始化
parent
c3a87f0f
Pipeline
#71443
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
HealthCheckController.java
...wx/store/sharer/web/controller/HealthCheckController.java
+3
-4
No files found.
yanxuan-wx-store-sharer-web/src/main/java/com/netease/yanxuan/wx/store/sharer/web/controller/HealthCheckController.java
View file @
bb0b8719
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
web
.
controller
;
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
web
.
controller
;
import
org.springframework.http.HttpStatus
;
import
com.netease.yanxuan.wx.store.sharer.common.core.Result
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -20,7 +19,7 @@ public class HealthCheckController {
...
@@ -20,7 +19,7 @@ public class HealthCheckController {
* @return HttpStatus.OK 表示成功
* @return HttpStatus.OK 表示成功
*/
*/
@RequestMapping
(
"/i/health"
)
@RequestMapping
(
"/i/health"
)
public
Res
ponseEntity
checkHealth
()
{
public
Res
ult
<
Void
>
checkHealth
()
{
return
new
ResponseEntity
(
HttpStatus
.
OK
);
return
Result
.
ok
(
);
}
}
}
}
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