`created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '新增時間',
`updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '修改時間',
還是喜歡這種類型的直接int(11)查詢數(shù)據(jù)庫不能直接看到具體時間
`updated_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '修改時間',
還是喜歡這種類型的直接int(11)查詢數(shù)據(jù)庫不能直接看到具體時間
2017-12-07
最贊回答 / TypeMoon
你的 “ ??'required'=>':attribute 為必填項', ?”這個后面多了個逗號 最后一個下標不應該有逗號!$this->validate($request,? ? ? ? ? ? ['Student.name'=>'required|min:2|max:23',? ? ? ? ? ? ? ? 'Student.age'=> 'required|integer',? ? ? ? ? ? ? ? 'Student.sex'=> 'required|intege...
2017-12-01
Route::group(['middleware' => 'web'], function () {
Route::any('session1',['uses'=>'StudentController@session1']);
Route::any('session2',['uses'=>'StudentController@session2']);
});
Route::any('student/response',['uses'=>'StudentController@response']);
無法通過response'重定向訪問session2
Route::any('session1',['uses'=>'StudentController@session1']);
Route::any('session2',['uses'=>'StudentController@session2']);
});
Route::any('student/response',['uses'=>'StudentController@response']);
無法通過response'重定向訪問session2
2017-11-22
使用中間件后路由無法訪問BadMethodCallException
Method get does not exist.
Method get does not exist.
2017-11-17