Commit d97e245a by 杨树贤

修改根网址的指向

parent 304119ef
......@@ -17,7 +17,7 @@ class IntegralsController extends Controller
$this->service = $service;
}
public function Entrance(Request $request, $id = 'index')
public function Entrance(Request $request, $id = 'integralList')
{
if ($request->path() == '/') {
$path = 'web/index';
......
......@@ -12,7 +12,7 @@
*/
Route::group(['middleware' => 'web'], function () {
Route::get('/', 'WebController@Entrance');
Route::get('/', 'IntegralsController@Entrance');
Route::match(['get', 'post'], '/integrals/{key}', 'IntegralsController@Entrance');
Route::match(['get', 'post'], '/user_integrals/{key}', 'UserIntegralsController@Entrance');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment