1 頁 (共 1 頁)

subdomain route

發表於 : 2017-02-02 09:37:29
yehlu

Re: subdomain route

發表於 : 2017-02-02 09:37:51
yehlu
https://laravel.com/docs/5.4/routing#ro ... in-routing

代碼: 選擇全部

Route::group(['domain' => '{account}.myapp.com'], function () {
    Route::get('user/{id}', function ($account, $id) {
        //
    });
});

Re: subdomain route

發表於 : 2017-02-02 15:19:11
yehlu