刘光辉
12 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package jnpf.dmsController;
 
import jnpf.base.ActionResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 链路验收探针:网关 /api/dms/ping(StripPrefix=2)转发至本服务 /ping。
 */
@RestController
public class PingController {
 
    @GetMapping("/ping")
    public ActionResult<String> ping() {
        return ActionResult.success("pong", "pong");
    }
}