| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?php
- use Illuminate\Http\Request;
- /*
- |--------------------------------------------------------------------------
- | API Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register API routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | is assigned the "api" middleware group. Enjoy building your API!
- |
- */
- Route::middleware('auth:api')->get('/admin', function (Request $request) {
- return $request->user();
- });
- Route::namespace('Api')->group(function () {
- //获取api认证token
- Route::post('oauth/token', 'TokenController@token');
- Route::post('check_token', 'TokenController@checkToken');
- //整改人列表
- Route::post('fanwei/zgr_list', 'ApiController@zgrList');//0
- //网格化录入
- Route::post('fanwei/add_conition', 'ApiController@addConition');//1
- //网格化整改
- Route::post('fanwei/edit_conition', 'ApiController@editConition');//1
- //网格化人员轨迹查询条件
- Route::post('fanwei/get_query_conition', 'ApiController@getQueryConition');//5
- //全流程巡检记录
- Route::post('fanwei/inspection_record', 'ApiController@inspectionRecord');
- //全流程巡检按月查个人巡检记录
- Route::post('fanwei/people_record_by_month', 'ApiController@peopleRecordByMonth');
- //根据单位查人员列表
- Route::post('fanwei/get_people_by_unit', 'ApiController@getPeopleByUnit');//5
- //网格化人员轨迹
- Route::post('fanwei/get_person_travel', 'ApiController@getPersonTravel');//4
- //网格化巡检记录查询条件
- Route::post('fanwei/get_result_conition', 'ApiController@getResultConition');//7
- //网格化巡检记录查询
- Route::post('fanwei/get_result_record', 'ApiController@getResultRecord');//9
- //全流程巡检记录排名
- Route::post('fanwei/get_record_sort', 'ApiController@getRecordSort');//9
- //网格化巡检记录列表
- Route::post('fanwei/get_result_list', 'ApiController@getResultList');
- //网格化巡检记录列表明细
- Route::post('fanwei/get_result_dlist', 'ApiController@getResultDlist');//2
- //网格化巡检记录明细
- Route::post('fanwei/get_result_detail', 'ApiController@getResultDetail');//3
- //网格化巡检记录
- Route::post('fanwei/get_final_list', 'ApiController@getFinalList');//8
- //网格化巡检人权限
- Route::post('fanwei/get_role', 'ApiController@getRole');//8
- //巡检轨迹
- Route::post('fanwei/get_guiji', 'ApiController@getGuiji');//8
- //设备管理添加设备单位列表
- Route::post('fanwei/sbgl_unit_list', 'ApiController@sbglUnitList');
- //设备管理添加设备新设备负责人列表
- Route::post('fanwei/sbgl_people_list', 'ApiController@sbglPeopleList');
- //设备管理添加设备新设备
- Route::post('fanwei/sbgl_add', 'ApiController@sbglAdd');
- //设备管理添加设备新设备
- Route::post('fanwei/sbgl_detail', 'ApiController@sbglDetail');
- //设备管理润滑管理
- Route::post('fanwei/sbgl_rh_list', 'ApiController@sbglRhList');
- //设备管理设备调拨
- Route::post('fanwei/sbgl_sbdb', 'ApiController@sbglSbdb');
- //设备管理设备审核
- Route::post('fanwei/sbgl_sbsh', 'ApiController@sbglSbsh');
- //设备管理权限
- Route::post('fanwei/sbgl_role', 'ApiController@sbglRole');
- //获取视频信息
- Route::post('fanwei/get_video_info', 'ApiController@getVideoInfo');
- //问卷调查题目
- Route::post('fanwei/get_topic_list', 'ApiController@getTopicList');
- //问卷调查提交
- Route::post('fanwei/submit_topic', 'ApiController@submitTopic');
- //问卷调查统计
- Route::post('fanwei/get_topic_static', 'ApiController@getTopicStatic');
- //问卷调查单题列表
- Route::post('fanwei/get_topic_test_list', 'ApiController@getTopicTestList');
- //问卷调查题目
- Route::post('fanwei/get_test_list', 'ApiController@getTestList');
- //问卷调查提交
- Route::post('fanwei/submit_test', 'ApiController@submitTest');
- //问卷调查统计
- // Route::post('fanwei/get_test_static', 'ApiController@getTestStatic');
- //问卷调查单题列表
- // Route::post('fanwei/get_topic_test_list', 'ApiController@getTopicTestList');
- //短信发送
- Route::post('sms/send_meeting_sms', 'SmsController@sendMeetingSms');
- //教育学习(洗选中的教育学习应用)
- // 学习效果检查统计表
- Route::post('report/learning_effect_check','ApiController@learningEffectCheck');
- // 腾讯地图逆地址解析
- Route::post('position_geocoder','ApiController@positionGeocoder');
- // 微信公众号获取文章列表
- Route::post('get_wechat_article_list','ApiController@getWechatArticleList');
- //公管公司值班日历
- Route::post('gggs/duty_calendar','ApiController@dutyCalendar');
- //公管公司值班查询
- Route::post('gggs/duty_search','ApiController@dutySearch');
- //公管公司值班换班
- Route::post('gggs/duty_change','ApiController@dutyChange');
- });
|