Commit bb0b8719 by fanjiaxin

代码初始化

parent c3a87f0f
Pipeline #71443 passed with stages
in 58 seconds
package com.netease.yanxuan.wx.store.sharer.web.controller;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import com.netease.yanxuan.wx.store.sharer.common.core.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -20,7 +19,7 @@ public class HealthCheckController {
* @return HttpStatus.OK 表示成功
*/
@RequestMapping("/i/health")
public ResponseEntity checkHealth() {
return new ResponseEntity(HttpStatus.OK);
public Result<Void> checkHealth() {
return Result.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