0
点赞
收藏
分享

微信扫一扫

设置 web项目 localhost:8080 默认访问接口


设置 web项目 localhost:8080 默认访问接口

@Controller
@RequestMapping("/")
public class index {
@RequestMapping(value = “/”, method = RequestMethod.GET)
public String index(Model model){
return “login.html”;
}
}

举报

相关推荐

http://localhost:8080/hohode

json:报POST http://localhost:8080/testJson 415

0 条评论