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;
|
|
/**
|
* 健康控制器
|
*
|
* @author WWW
|
* @date 2024-08-24
|
*/
|
@RestController
|
@RequestMapping("/gateway")
|
public class HealthController extends BaseController {
|
@GetMapping("/health")
|
public long test() {
|
return System.currentTimeMillis();
|
}
|
}
|