Commit 627087e8 by fanjiaxin

代码初始化

parent bb0b8719
Pipeline #71444 passed with stages
in 1 minute 2 seconds
package com.netease.yanxuan.wx.store.sharer.web.controller;
import com.netease.yanxuan.wx.store.sharer.common.core.Result;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -19,7 +20,7 @@ public class HealthCheckController {
* @return HttpStatus.OK 表示成功
*/
@RequestMapping("/i/health")
public Result<Void> checkHealth() {
return Result.ok();
public ResponseEntity checkHealth() {
return new ResponseEntity(HttpStatus.OK);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment