标签:
1 Route::group(array(‘domain‘ => ‘localhost‘), function() 2 { 3 Route::get(‘/‘,function(){ 4 return ‘localhost‘; 5 }); 6 }); 7 Route::group(array(‘domain‘ => ‘127.0.0.1‘), function() 8 { 9 Route::get(‘/‘,function(){ 10 return ‘127.0.0.1‘; 11 }); 12 });
标签:
原文地址:http://www.cnblogs.com/lman/p/4785395.html