package com.xm.SpringBoot; /** * Hello world! *O */ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @EnableAutoConfiguration public class App { @RequestMapping("/h") public String home() { return "Hello"; } @RequestMapping("/w") public String word() { return "World"; } public static void main(String[] args) { System.out.println("Hello World!"); System.out.println("Hello World ! zuidaima"); SpringApplication.run(App.class, args); } }
最近下载更多
ewan007 LV29
2021年8月29日
hahazxy LV14
2021年7月1日
wangshihui LV8
2020年9月2日
hxp0521 LV3
2020年5月11日
912299793 LV21
2020年5月6日
a807920472 LV1
2019年7月24日
c841713942016 LV4
2019年7月23日
职场小灰 LV4
2019年7月16日
bai620123 LV16
2019年3月18日
lixiaominghahaha LV10
2019年3月6日