| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?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/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_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/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('sms/send_meeting_sms', 'SmsController@sendMeetingSms');
- });
|