@RestController simplifies the creation of RESTful web services. It's a convenience annotation that combines @Controller and @ResponseBody.
if you use it it will convert the response into a JSON object format. That's why you are
getting a string as text in the browser, not the view.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…