ModelAttribute可以註釋方法和引數@ModelAttribute註釋方法@ModelAttribute註釋方法該方法會在controller的所有方法之前被執行。通過Model將value設定到相應的key中。
確定! 回上一頁