|
|
|
@ -16,6 +16,8 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro
|
|
|
|
|
$router->post('/demo-management-user/add', 'DemoController@add'); |
|
|
|
|
$router->post('/role-user/add', 'RoleController@add'); |
|
|
|
|
$router->post('/menu-company-user/add-multiple', 'MenuCompanyController@addMultiple'); |
|
|
|
|
$router->post('/role-menu-user/add-multiple', 'RoleMenuController@addMultiple'); |
|
|
|
|
$router->post('/refferal-code/search', 'RefferalCodeController@search'); |
|
|
|
|
|
|
|
|
|
$router->post('/menu/add', 'MenuController@add'); |
|
|
|
|
$router->get('/menu/edit/{id}', 'MenuController@edit'); |
|
|
|
@ -133,6 +135,11 @@ $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('/project-role/search', 'ProjectRoleController@search'); |
|
|
|
|
$router->post('/project-role/add', 'ProjectRoleController@add'); |
|
|
|
|
$router->get('/project-role/edit/{id}', 'ProjectRoleController@edit'); |
|
|
|
|