Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
falstack committed Dec 26, 2019
1 parent 54c0dc2 commit 3dff354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/route-v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

$route->get('fetch', 'BangumiController@fetch');

$route->get('create', 'BangumiController@create');
$route->post('create', 'BangumiController@create');
});

$route->group(['prefix' => 'update', 'middleware' => 'user'], function () use ($route)
Expand Down Expand Up @@ -158,7 +158,7 @@

$route->post('update', 'IdolController@update');

$route->post('fetch', 'IdolController@fetch');
$route->get('fetch', 'IdolController@fetch');

$route->post('create', 'IdolController@create');
});
Expand Down

0 comments on commit 3dff354

Please sign in to comment.