提交 c43743f1 编写于 作者: F fengyw

修改网关提示语

上级 de297bfe
...@@ -4,11 +4,15 @@ import org.springframework.web.bind.annotation.GetMapping; ...@@ -4,11 +4,15 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono; import reactor.core.publisher.Mono;
/**
* @author fengyw
*/
@RestController @RestController
public class IndexController { public class IndexController {
@GetMapping("/") @GetMapping("/")
public Mono<String> index() { public Mono<String> index() {
return Mono.just("SUCCESS"); String html = "<center>Gateway Run Success</center>";
return Mono.just(html);
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册