https://blog.csdn.net/ityouknow/article/details/80490926
https://blog.csdn.net/u010486495/article/details/79348302
https://blog.csdn.net/qq_27384769/article/details/79439844
重定向 转发 视图与数据的返回 有什么不一样?
-
return "user/userEdit";代表会直接去resources目录下找相关的文件。
-
return "redirect:/list"; 代表转发到对应的controller。
https://blog.csdn.net/xwd718/article/details/80653161
返回json:
https://www.2cto.com/kf/201712/703299.html
实例:
https://github.com/flyleft/xmarket-server
开发api接口: