From c43743f11920fc76ab1e5fd9d331384ccf5defa7 Mon Sep 17 00:00:00 2001 From: fengyw Date: Tue, 18 Oct 2022 14:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E5=85=B3=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/roncoo/education/app/gateway/IndexController.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roncoo-education-app-gateway/src/main/java/com/roncoo/education/app/gateway/IndexController.java b/roncoo-education-app-gateway/src/main/java/com/roncoo/education/app/gateway/IndexController.java index 57dc95b2..1bd9a903 100644 --- a/roncoo-education-app-gateway/src/main/java/com/roncoo/education/app/gateway/IndexController.java +++ b/roncoo-education-app-gateway/src/main/java/com/roncoo/education/app/gateway/IndexController.java @@ -4,11 +4,15 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core.publisher.Mono; +/** + * @author fengyw + */ @RestController public class IndexController { @GetMapping("/") public Mono index() { - return Mono.just("SUCCESS"); + String html = "
Gateway Run Success
"; + return Mono.just(html); } } -- GitLab