lixuliang
2024-11-22 4f7362ec2854732c2ff2454331ec815c4c3147f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.se.gateway.handler;
 
import com.se.common.core.web.controller.BaseController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@SuppressWarnings("ALL")
@RequestMapping("/gateway")
public class HealthController extends BaseController {
    @GetMapping("/health")
    public long test() {
        return System.currentTimeMillis();
    }
}