web.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/getAppiontInfo', 'Appiontcontroller@getAppiontInfo');
  34. Route::get('/api/docterList', 'Appiontcontroller@docterList');
  35. Route::get('/api/organizationList', 'Appiontcontroller@organizationList');
  36. Route::post('/api/organizationList', 'Appiontcontroller@organizationList');