up
This commit is contained in:
@@ -16,10 +16,21 @@ Route::get('think', function () {
|
||||
|
||||
Route::get('hello/:name', 'index/hello');
|
||||
|
||||
// 爬虫工具路由
|
||||
// 认证路由(不需要登录)
|
||||
Route::get('login', 'auth/login');
|
||||
Route::post('auth/doLogin', 'auth/doLogin');
|
||||
Route::get('auth/logout', 'auth/logout');
|
||||
|
||||
// 爬虫工具路由(需要登录)
|
||||
Route::get('crawler', 'crawler/index');
|
||||
Route::post('crawler/getDsdmOptions', 'crawler/getDsdmOptions');
|
||||
Route::post('crawler/getZwdmList', 'crawler/getZwdmList');
|
||||
Route::post('crawler/getPositionInfo', 'crawler/getPositionInfo');
|
||||
Route::post('crawler/batchGetPositionInfo', 'crawler/batchGetPositionInfo');
|
||||
Route::post('crawler/fetchAllPositions', 'crawler/fetchAllPositions');
|
||||
Route::post('crawler/fetchAllPositions', 'crawler/fetchAllPositions');
|
||||
|
||||
// 用户管理路由(需要登录且为管理员)
|
||||
Route::get('user', 'user/index');
|
||||
Route::get('user/getUsers', 'user/getUsers');
|
||||
Route::post('user/add', 'user/add');
|
||||
Route::post('user/delete', 'user/delete');
|
||||
Reference in New Issue
Block a user