最贊回答 / 慕容6212989
給枚舉賦值? 然後 自定義 一個 getValue()方法,并且寫一個構(gòu)造器? this傳參數(shù)public enum AccountStateEnum {??? /**賬戶狀態(tài)-新建*/??? NEW("1")??? /**賬戶狀態(tài)-開戶*/??? , OPEN("2")??? /**賬戶狀態(tài)-變更*/??? , CHANGED("3")??? /**賬戶狀態(tài)-凍結(jié)*/??? , FREEZED("4")??? /**賬戶狀態(tài)-銷戶*/??? , TERMINATED("5");??? private S...
2018-01-21
已采納回答 / qq_某某某_9
?/**?????*?18.測試@ModelAttribute注解?????*?@param?user?????*?@return?????*/????@RequestMapping(value="/ModelAttribute",method=RequestMethod.POST)????public?String?test18(UserBean?user,Map<String,Object> map)?{????????String pwd=map.get("user1").getPass...
2018-01-11
細致入微,課程面向所有人,講的細一點 無可厚非‘ 大牛們’別在這酸了…哦不對。。大牛不需要看別人的視頻學習 呵呵
2018-01-09
用idea已經(jīng)好幾個月了,非常順手,現(xiàn)在都沒打開過eclipse了。哈哈
2018-01-05
已采納回答 / weibo_蟲蟲1296_0
F6 單步執(zhí)行 執(zhí)行到下一行代碼F8是執(zhí)行完 假如后面還有斷點 執(zhí)行到下一個斷點處F5是進入方法里執(zhí)行
2018-01-01
一開始沒加jar包報錯了.Http415錯誤.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.5.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.5.3</version>
</dependency>
2017-12-08
最新回答 / 大番薯93
網(wǎng)上眾說紛紜,很多人說沒什么優(yōu)點。貼一個連接你可以看看:https://stackoverflow.com/questions/2191049/what-is-the-advantage-of-using-rest-instead-of-non-rest-http
2017-12-05
最新回答 / 慕移動9181930
switch這塊有問題,不要再switch()內(nèi)設置變量建議可以多聽幾遍這個課程,我聽第二遍的時候,又更清楚了喔~^^給您參考