get('/user', function (Request $request) { return $request->user(); }); Route::any('login', 'Api\LoginController@login'); Route::any('loginMobile', 'Api\LoginController@loginMobile'); Route::any('getHeaderWord', 'Api\HeaderWordController@getHeaderWord'); Route::any('getHeaderSetting', 'Api\HeaderWordController@getHeaderSettings'); Route::any('deviceList', 'Api\Device\DeviceController@deviceList'); Route::any('fyy_set','Api\FyyOrderController@setFyy'); Route::any('tt','Api\TestController@tt'); Route::any('ttt','Api\TestController@ttt'); Route::any('tttt','Api\TestController@tttt'); Route::any('getProductionOrder/{file_name}','Api\ProductionOrderController@getItemFile'); Route::any('getCloudData','Api\CloudDataController@getCloudData'); Route::any('delTestQ','Api\TestController@delTestQ');//包装 Route::any('delTestQ2','Api\TestController@delTestQ2');//生产 Route::any('test','Api\TestController@test');//测试 Route::any('output_value','Api\ScreenController@output_value'); Route::any('order_process1','Api\ScreenController@order_process1'); Route::any('project_region','Api\ScreenController@project_region'); Route::any('output_value_month1','Api\ScreenController@output_value_month1'); Route::any('output_value_efficiency','Api\ScreenController@output_value_efficiency'); Route::any('capacity','Api\ScreenController@capacity'); Route::any('product_num','Api\ScreenController@product_num'); Route::any('work_order','Api\ScreenController@work_order'); Route::any('nu_work_order','Api\ScreenController@nu_work_order'); Route::any('saleOrdersFromAddress','Api\ScreenController@saleOrdersFromAddress'); Route::any('production_status','Api\ScreenController@production_status'); Route::any('deviceProduction','Api\ScreenController@deviceProduction'); Route::group(['middleware'=> ['checkLogin']],function ($route){ $route->any('HeaderSettingsAdd', 'Api\HeaderWordController@add'); $route->any('HeaderSettingsDetail', 'Api\HeaderWordController@detail'); $route->any('menuAdd', 'Api\SysMenuController@add'); $route->any('menuEdit', 'Api\SysMenuController@edit'); $route->any('menuDel', 'Api\SysMenuController@del'); $route->any('menuList', 'Api\SysMenuController@menuList'); $route->any('menuMove', 'Api\SysMenuController@menuMove'); $route->any('employeeAdd', 'Api\EmployeeController@employeeAdd'); $route->any('employeeEdit', 'Api\EmployeeController@employeeEdit'); $route->any('employeeDel', 'Api\EmployeeController@employeeDel'); $route->any('employeeList', 'Api\EmployeeController@employeeList'); $route->any('departAdd', 'Api\EmployeeController@departAdd'); $route->any('departEdit', 'Api\EmployeeController@departEdit'); $route->any('departDel', 'Api\EmployeeController@departDel'); $route->any('departList', 'Api\EmployeeController@departList'); $route->any('roleAdd', 'Api\EmployeeController@roleAdd'); $route->any('roleEdit', 'Api\EmployeeController@roleEdit'); $route->any('roleDel', 'Api\EmployeeController@roleDel'); $route->any('roleList', 'Api\EmployeeController@roleList'); $route->any('teamAdd', 'Api\EmployeeController@teamAdd'); $route->any('teamEdit', 'Api\EmployeeController@teamEdit'); $route->any('teamDetail', 'Api\EmployeeController@teamDetail'); $route->any('teamDel', 'Api\EmployeeController@teamDel'); $route->any('teamList', 'Api\EmployeeController@teamList'); $route->any('employeeDepart', 'Api\EmployeeController@employeeDepart'); $route->any('employeeTeam', 'Api\EmployeeController@employeeTeam'); $route->any('employeeRole', 'Api\EmployeeController@employeeRole'); $route->any('measureAdd', 'Api\MeasureController@Add'); $route->any('measureEdit', 'Api\MeasureController@Edit'); $route->any('measureDel', 'Api\MeasureController@Del'); $route->any('measureList', 'Api\MeasureController@measureList'); $route->any('basicMaterialList', 'Api\MaterialController@basicMaterialList'); $route->any('basicMaterialEdit', 'Api\MaterialController@basicMaterialEdit'); $route->any('basicMaterialAdd', 'Api\MaterialController@basicMaterialAdd'); $route->any('basicMaterialDel', 'Api\MaterialController@basicMaterialDel'); $route->any('materialList', 'Api\MaterialController@materialList'); $route->any('materialDetail', 'Api\MaterialController@materialDetail'); $route->any('materialEdit', 'Api\MaterialController@materialEdit'); $route->any('materialAdd', 'Api\MaterialController@materialAdd'); $route->any('materialDel', 'Api\MaterialController@materialDel'); //工序 $route->any('basicProcessList', 'Api\ProcessController@basicProcessList'); $route->any('basicProcessEdit', 'Api\ProcessController@basicProcessEdit'); $route->any('basicProcessAdd', 'Api\ProcessController@basicProcessAdd'); $route->any('basicProcessDel', 'Api\ProcessController@basicProcessDel'); $route->any('processList', 'Api\ProcessController@processList'); $route->any('processDetail', 'Api\ProcessController@processDetail'); $route->any('processEdit', 'Api\ProcessController@processEdit'); $route->any('processAdd', 'Api\ProcessController@processAdd'); $route->any('processDel', 'Api\ProcessController@processDel'); //工艺 $route->any('technologyList', 'Api\TechnologyController@technologyList'); $route->any('technologyEdit', 'Api\TechnologyController@technologyEdit'); $route->any('technologyAdd', 'Api\TechnologyController@technologyAdd'); $route->any('technologyDel', 'Api\TechnologyController@technologyDel'); $route->any('technologyCopy', 'Api\TechnologyController@technologyCopy'); //设备档案 $route->any('equipmentAdd', 'Api\EquipmentController@equipmentAdd'); $route->any('equipmentEdit', 'Api\EquipmentController@equipmentEdit'); $route->any('equipmentDel', 'Api\EquipmentController@equipmentDel'); $route->any('equipmentList', 'Api\EquipmentController@equipmentList'); //报废原因 $route->any('scrappAdd', 'Api\ScrappController@scrappAdd'); $route->any('scrappEdit', 'Api\ScrappController@scrappEdit'); $route->any('scrappDel', 'Api\ScrappController@scrappDel'); $route->any('scrappList', 'Api\ScrappController@scrappList'); $route->any('scrappZjList', 'Api\ScrappController@scrappZjList'); $route->any('scrappZjDetail', 'Api\ScrappController@scrappZjDetail'); $route->any('scrappBadList', 'Api\ScrappController@scrappBadList'); $route->any('scrappBadDetail', 'Api\ScrappController@blpDetail'); //销售订单---------------------- $route->any('salesOrderList', 'Api\FyyOrderController@salesOrderList'); $route->any('fyyAdd', 'Api\FyyOrderController@add'); $route->any('fyyList', 'Api\FyyOrderController@orderList'); $route->any('fyyRefreshOnHandQuantity', 'Api\FyyOrderController@fyyRefreshOnHandQuantity'); $route->any('fyyMobileList', 'Api\FyyOrderController@orderMobileList'); //销售订单---------------------- //获取发货单 全部返回 $route->any('getShipmentOrder', 'Api\FyyOrderController@getShipmentOrder'); //生产订单---------------------- $route->any('productionAdd', 'Api\ProductionOrderController@add'); $route->any('productionList', 'Api\ProductionOrderController@orderList'); $route->any('productionExport', 'Api\ProductionOrderController@productionExport'); //生产订单---------------------- //(生产订单下派工)派工界面------------------- $route->any('dispatchAdd', 'Api\DispatchController@add'); $route->any('dispatchList', 'Api\DispatchController@orderList'); //(生产订单下派工)派工界面------------------- //工序派工单列表 pc端------- $route->any('dispatchOrderList', 'Api\DispatchController@dispatchOrderList'); //工序派工单列表 pc端------- //申请单使用的 $route->any('dispatchOrderForSqList', 'Api\DispatchController@dispatchOrderForSqList'); //工序派工单列表 手机端------- $route->any('finishedOrderList', 'Api\DispatchController@dispatchMobileOrderList'); //工序派工单列表 手机端------- //手机端 工序完工----------- $route->any('finishedOrderDetailsList', 'Api\DispatchController@dispatchMobileOrderDetailsList'); $route->any('mobileFinishedOrderAdd', 'Api\FinishedOrderController@mobileAdd'); //手机端 工序完工----------- //pc端 工序完工------------ $route->any('finishedOrderAdd', 'Api\FinishedOrderController@add'); $route->any('finishedOrderDetail', 'Api\FinishedOrderController@orderDetail'); $route->any('finishedOrderEditZj', 'Api\FinishedOrderController@editZj'); $route->any('finishedOrderGetZj', 'Api\FinishedOrderController@GetZj'); //pc端 工序完工------------ //审核统一入口 $route->any('checkOrders','Api\DeleteOrderController@checkOrders'); //删除单据统一入口 $route->any('delOrders','Api\DeleteOrderController@del'); //队列任务错误列表 $route->any('errorList','Api\ErrorOperationController@errorList'); //报表 $route->any('productionReport', 'Api\ReportFormsController@productionReport'); $route->any('teamReport', 'Api\ReportFormsController@teamReport'); $route->any('teamReportDetail','Api\ReportFormsController@teamReportDetail'); $route->any('badGoodsReport', 'Api\ReportFormsController@badGoodsReport'); $route->any('badGoodsReportDetail','Api\ReportFormsController@badGoodsReportDetail'); $route->any('badGoodsReasonReport', 'Api\ReportFormsController@badGoodsReasonReport'); $route->any('badGoodsReasonReportDetail','Api\ReportFormsController@badGoodsReasonReportDetail'); $route->any('statisticsReportWorkingChart','Api\ReportFormsController@statisticsReportWorkingChart'); $route->any('statisticsReportWorkingChartDetail','Api\ReportFormsController@statisticsReportWorkingChartDetail'); //设备报表 $route->any('deviceLists','Api\ReportFormsController@deviceList'); $route->any('deviceStatisticsReport', 'Api\ReportFormsController@deviceStatisticsReport'); $route->any('deviceStatisticsReportDetail', 'Api\ReportFormsController@deviceStatisticsReportDetail'); $route->any('deviceStatisticsReportChart', 'Api\ReportFormsController@deviceStatisticsReportChart'); $route->any('deviceStatisticsReportOEEChart', 'Api\ReportFormsController@deviceStatisticsReportOEEChart'); $route->any('productList', 'Api\MaterialController@productList'); $route->any('productEdit', 'Api\MaterialController@edit'); $route->any('productAdd', 'Api\MaterialController@edd'); $route->any('productDel', 'Api\MaterialController@del'); $route->any('bomList', 'Api\BomController@bomList'); $route->any('bomDetail', 'Api\BomController@bomDetail'); $route->any('bomEdit', 'Api\BomController@edit'); $route->any('bomAdd', 'Api\BomController@add'); $route->any('bomDel', 'Api\BomController@del'); $route->any('orderList', 'Api\OrderController@orderList'); $route->any('orderAdd', 'Api\OrderController@add'); $route->any('orderEdit', 'Api\OrderController@add'); $route->any('orderDel', 'Api\OrderController@del'); $route->any('orderDetail', 'Api\OrderController@orderDetail'); $route->any('tagDetail', 'Api\OrderTagController@tagDetail'); $route->any('transportDetail', 'Api\OrderTransportController@transportDetail'); $route->any('boxTransport', 'Api\OrderTransportController@boxTransport'); $route->any('transportConfirm', 'Api\OrderTransportController@transportConfirm'); $route->any('deviceList', 'Api\Device\DeviceController@deviceList'); $route->any('getOutOrderNum','Api\FyyOrderController@getOutOrderNum'); //请求表头信息 $route->any('getHeaderWord', 'Api\HeaderWordController@getHeaderWord'); //包装相关 $route->any('boxDetail', 'Api\BoxController@boxDetail'); $route->any('boxFhDetailNew','Api\BoxController@boxFhDetailNew'); $route->any('boxList', 'Api\BoxController@boxList'); $route->any('boxOrderDetail', 'Api\BoxController@boxOrderDetail'); $route->any('boxProductList', 'Api\BoxController@boxProductList'); $route->any('boxOrderGroupGwp', 'Api\BoxController@boxOrderGroupGwp'); $route->any('boxOrderGroupGwpDetail', 'Api\BoxController@boxOrderGroupGwpDetail'); $route->any('box_in', 'Api\BoxController@boxIn');//包装 产成本入库 $route->any('transportBoxIn', 'Api\BoxController@transportBoxIn'); $route->any('boxOrderDetailByTop', 'Api\BoxController@boxOrderDetailByTop'); $route->any('boxOrderDetailByOrderNo', 'Api\BoxController@boxOrderDetailByOrderNo'); $route->any('boxOrderDetailByOrderNoNew', 'Api\BoxController@boxOrderDetailByOrderNoNew'); $route->any('boxOrderGroup', 'Api\BoxController@boxOrderGroup'); $route->any('transportNo', 'Api\BoxController@transportNo'); $route->any('delBoxDetail', 'Api\BoxController@delBoxDetail'); $route->any('transportBoxList', 'Api\BoxController@transportBoxList'); $route->any('transportDetail', 'Api\BoxController@transportDetail'); //包装扫码出库 $route->any('fyySaveOutOrder','Api\FyyOrderController@fyySaveOutOrder'); //扫码出库 $route->any('saveOutOrder','Api\BoxController@saveOutOrder'); //发货单 分页 $route->any('getYyShipmentOrder', 'Api\FyyOrderController@getYyShipmentOrder'); //发货包装单 $route->any('boxAdd','Api\BoxController@boxAdd'); $route->any('boxFhDetail','Api\BoxController@boxFhDetail'); $route->any('boxFhDel','Api\BoxController@boxFhDel'); $route->any('boxFhBzDetail','Api\BoxController@boxFhBzDetail'); $route->any('boxFhBzList','Api\BoxController@boxFhBzList'); //巡检 点检 维修 $route->any('deviceOrderList','Api\InspectController@deviceOrderList'); $route->any('deviceOrderAdd','Api\InspectController@deviceOrderAdd'); $route->any('deviceOrderEdit','Api\InspectController@deviceOrderEdit'); $route->any('deviceOrderDel','Api\InspectController@deviceOrderDel'); $route->any('deviceOrderDetail','Api\InspectController@deviceOrderDetail'); $route->any('deviceOrderListTypeOneForMobile','Api\InspectController@deviceOrderListTypeOneForMobile'); $route->any('deviceOrderOverView','Api\InspectController@deviceOrderOverView');//总览 $route->any('deviceOrderXj','Api\InspectController@deviceOrderXj');//巡检任务 $route->any('deviceOrderWx','Api\InspectController@deviceOrderWx');//维修 $route->any('dxjAdd', 'Api\EmployeeController@dxjAdd'); $route->any('dxjEdit', 'Api\EmployeeController@dxjEdit'); $route->any('dxjDel', 'Api\EmployeeController@dxjDel'); $route->any('dxjList', 'Api\EmployeeController@dxjList'); //申请单 $route->any('applyOrderList', 'Api\ApplyOrderController@materialList'); $route->any('applyOrderDetail', 'Api\ApplyOrderController@materialDetail'); $route->any('applyOrderEdit', 'Api\ApplyOrderController@materialEdit'); $route->any('applyOrderAdd', 'Api\ApplyOrderController@materialAdd'); $route->any('applyOrderDel', 'Api\ApplyOrderController@materialDel'); //仓库 $route->any('storeHouseList', 'Api\FyyOrderController@getStorehouseDataFromSqlServer'); //设置列表 $route->any('settingList', 'Api\EmployeeController@settingList'); $route->any('settingEdit', 'Api\EmployeeController@settingEdit'); //报工单 $route->any('reportWorkingList', 'Api\ApplyOrderController@reportWorkingList'); $route->any('reportWorkingDetail', 'Api\ApplyOrderController@reportWorkingDetail'); $route->any('reportWorkingEdit', 'Api\ApplyOrderController@reportWorkingEdit'); $route->any('reportWorkingAdd', 'Api\ApplyOrderController@reportWorkingAdd'); $route->any('reportWorkingDel', 'Api\ApplyOrderController@reportWorkingDel'); });