摘要: 倒序取出 public function index() { $as = Article::latest('published_at')->get(); return view('a.index',compact('as')); } 阅读全文
posted @ 2015-08-19 21:05 jzfan 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1. 修改ROUTE// Authentication routes...Route::get('login', 'Auth\AuthController@getLogin');Route::post('login', 'Auth\AuthController@postLogin');Route::... 阅读全文
posted @ 2015-08-19 20:40 jzfan 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-08-19 18:08 jzfan 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 宋体SimSun黑体SimHei微软雅黑MicrosoftYaHei微软正黑体MicrosoftJhengHei新宋体NSimSun新细明体PMingLiU细明体MingLiU标楷体DFKai-SB仿宋FangSong楷体KaiTi仿宋_GB2312FangSong_GB2312楷体_GB2312K... 阅读全文
posted @ 2015-08-19 15:42 jzfan 阅读(713) 评论(0) 推荐(0) 编辑
摘要: Route::get('/', function () { return view('welcome');});Route::resource('a', 'ArticleController');Route::controller([ 'auth' => 'Auth\AuthContro... 阅读全文
posted @ 2015-08-19 14:03 jzfan 阅读(222) 评论(0) 推荐(0) 编辑