diff --git a/routes/web.php b/routes/web.php index ed2e751..146a9a7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -141,16 +141,6 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro $router->post('/human-resource/check-old-password/{id}', 'HumanResourceController@checkOldPassword'); $router->get('/human-resource/sync', 'HumanResourceController@sync'); - $router->post('/refferal-code/search', 'RefferalCodeController@search'); - $router->post('/refferal-code/add', 'RefferalCodeController@add'); - $router->get('/refferal-code/edit/{id}', 'RefferalCodeController@edit'); - $router->put('/refferal-code/update/{id}', 'RefferalCodeController@update'); - - $router->post('/product-transaction/search', 'ProductTransactionController@search'); - $router->post('/product-transaction/add', 'ProductTransactionController@add'); - $router->get('/product-transaction/edit/{id}', 'ProductTransactionController@edit'); - $router->put('/product-transaction/update/{id}', 'ProductTransactionController@update'); - $router->post('/project-role/search', 'ProjectRoleController@search'); $router->post('/project-role/add', 'ProjectRoleController@add'); $router->get('/project-role/edit/{id}', 'ProjectRoleController@edit'); @@ -599,7 +589,15 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro $router->delete('/demo-management/delete/{id}', 'DemoController@delete'); $router->get('/demo-management/list', 'DemoController@list'); - $router->get('information-storage/{company_name}', 'Controller@storage'); + $router->get('/information-storage/{company_name}', 'Controller@storage'); + + $router->post('/register-user','UserRegisterController@add'); + + $router->post('/refferal-code/search', 'RefferalCodeController@search'); + $router->post('/refferal-code/add', 'RefferalCodeController@add'); + $router->get('/refferal-code/edit/{id}', 'RefferalCodeController@edit'); + $router->put('/refferal-code/update/{id}', 'RefferalCodeController@update'); + $router->post('/product-transaction/edit/{id}', 'ProductTransactionController@add'); $router->put('/product-transaction/update/{id}', 'ProductTransactionController@update'); $router->post('/product-transaction/search', 'ProductTransactionController@search');