@RestController註解

@RestController簡單粗暴的理解就是@[email protected][email protected] 下圖所示爲測試結果 效果跟@[email protected]是一樣的 另外 This code uses Spring 4’s new @RestController annotation, which marks the class as a controller wher
相關文章
相關標籤/搜索