1.http415錯誤 媒體類型不匹配 @RequestMapping(value = "/delete",method = RequestMethod.DELETE,produces = "application/json",consumes = "application/json") JSON數據格式錯誤,改爲consumes=“application/*”
2.:8080/advert/delete?id=7 Failed to load resource: the server responded with a status of 500 () 請求接口方式錯誤
http://localhost:8080/advert/detail?id=8 獲取ID信息需要用註釋@QueryParam
3.頁面翻頁結果和第一頁信息一樣 原因:參數不匹配,導致page參數失效