package jnpf.bizcommon.onlyoffice.controller;
|
|
import jnpf.base.ActionResult;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* 链路验收探针:网关 /api/biz/onlyoffice/ping(StripPrefix=2)→ 本服务 /onlyoffice/ping。
|
* 放行配置见 jnpf-biz-common-server 的 application.yml(sa-token / 租户 / jnpf.security 三处)。
|
*/
|
@RestController
|
public class PingController {
|
|
@GetMapping("/onlyoffice/ping")
|
public ActionResult<String> ping() {
|
return ActionResult.success("pong");
|
}
|
}
|