Commit 52201f9b by 杨树贤

路由方法修复

parent ae651fbb
Showing with 1 additions and 1 deletions
...@@ -18,7 +18,7 @@ $router->addRoute(['GET', 'POST'], '/', function () use ($router) { ...@@ -18,7 +18,7 @@ $router->addRoute(['GET', 'POST'], '/', function () use ($router) {
$router->group(['middleware' => ['web', 'login']], function () use ($router) { $router->group(['middleware' => ['web', 'login']], function () use ($router) {
//签到 //签到
$router->get('/check_in/list', 'CheckInController@index'); $router->get('/check_in/list', 'CheckInController@index');
$router->post('/check_in/add', 'CheckInController@add'); $router->addRoute(['GET', 'POST'],'/check_in/add', 'CheckInController@add');
//报价 //报价
$router->post('/offers/add', 'OffersController@store'); $router->post('/offers/add', 'OffersController@store');
......
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