标签:
基本路由:
Route::get(‘/‘, function () { return view(‘welcome‘); }); Route::post(‘/‘, function () { return view(‘welcome‘); });
路由前缀:
Route::group([‘prefix‘=>‘wechat‘],function (){ Route::get(‘/‘,function (){ return ‘wechat根目录‘; }); });
标签:
原文地址:http://www.cnblogs.com/xj76149095/p/5969226.html