已采納回答 / qq_卓不凡
DB::table('tab_name')->select('fields')->take(5)->get(); //take(5) 相當于 limit(5)//還可以使用skip(10) 來實現分頁功能DB::table('tab_name')->select('fields')->skip(10)->take(5)->get(); //每頁顯示5條 跳過前10天查詢五條 就是i第三頁
2016-10-08
已采納回答 / suifengpiaowu
Route::match()需要匹配請求方式,你看下你get的請求方式配了沒有,然后按照訪問get的方式訪問match,還有問題就需要你貼出代碼看下了.希望對你有幫助.<...圖片...>
2016-10-08
LTS是 long-term support吧,https://en.wikipedia.org/wiki/Long-term_support
2016-10-05