web.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. Route::get('/', function () {
  13. return redirect('/admin');
  14. });
  15. Route::get('/cdms', function () {
  16. return redirect('/cdms/home');
  17. });
  18. Route::get('/api/getComSchedule', 'ScheDuleController@getWeekSchedule');
  19. Route::get('/getChatOrder', 'ScheDuleController@get_chat_order');
  20. Route::get('/api/setDocChedule', 'ScheDuleController@setDocChedule');
  21. Route::get('/api/getDocterSetting', 'ScheDuleController@getDocterSetting');
  22. Route::get('/api/get_month_schedule', 'ScheDuleController@get_month_schedule');
  23. Route::get('/api/set_day_schedule', 'ScheDuleController@set_day_schedule');
  24. Route::get('/api/update_docter_setting', 'ScheDuleController@updateDocterSetting');
  25. Route::get('/api/get_docter_setting', 'ScheDuleController@getDocterSetting');
  26. Route::get('/api/set_week_schedule', 'ScheDuleController@setWeekSchedule');
  27. Route::get('/api/get_week_chedule', 'ScheDuleController@getWeekSchedule');
  28. Route::get('/api/set_self_schedule', 'ScheDuleController@setSelfSchedule');
  29. Route::get('/api/insert_times', 'ScheDuleController@insert_times');
  30. Route::get('/test', 'IndexController@test');
  31. //用户信息
  32. Route::get('/api/getScheduleInfo', 'ScheDuleController@getScheduleInfo');
  33. Route::get('/api/orverTime', 'AppiontController@orverTime');
  34. Route::options('/api/getAppiontInfo', 'AppiontController@getAppiontInfo');
  35. Route::post('/api/getAppiontInfo', 'AppiontController@getAppiontInfo');
  36. Route::get('/api/getAppiontInfo', 'AppiontController@getAppiontInfo');
  37. Route::get('/api/docterList', 'AppiontController@docterList');
  38. Route::get('/api/organizationList', 'AppiontController@organizationList');