| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 | 
							- <?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::any('wxSetUser', 'Api\WxController@setUser');
 
- Route::any('wxSetMobile', 'Api\WxController@setMobile');
 
- Route::any('wxLogin', 'Api\WxController@login');
 
- Route::group(['middleware'=> ['checkWx']],function ($route){
 
-     //不需要账号登录的
 
-     //文件上传统一方法
 
-     $route->any('uploadFile', 'Api\FileUploadController@uploadFile');
 
-     $route->any('saleOrderList', 'Api\WxController@saleOrderList');
 
-     $route->any('checkAll', 'Api\CheckController@checkAll');
 
-     //需要账号登录的
 
-     //采购单
 
-     $route->any('purchaseOrderList', 'Api\WxController@purchaseOrderList');
 
-     $route->any('purchaseOrderEdit', 'Api\PurchaseOrderController@purchaseOrderEdit');
 
-     $route->any('purchaseOrderDetail', 'Api\PurchaseOrderController@purchaseOrderDetail');
 
-     $route->any('purchaseOrderAdd', 'Api\PurchaseOrderController@purchaseOrderAdd');
 
-     $route->any('purchaseOrderDel', 'Api\PurchaseOrderController@purchaseOrderDel');
 
-     //合同
 
-     $route->any('salesOrderGet', 'Api\SalesOrderController@salesOrderGet');
 
-     $route->any('salesOrderList', 'Api\SalesOrderController@salesOrderList');
 
-     $route->any('salesOrderEdit', 'Api\SalesOrderController@salesOrderEdit');
 
-     $route->any('salesOrderDetail', 'Api\SalesOrderController@salesOrderDetail');
 
-     $route->any('salesOrderAdd', 'Api\SalesOrderController@salesOrderAdd');
 
-     $route->any('salesOrderDel', 'Api\SalesOrderController@salesOrderDel');
 
-     $route->any('constructionGet', 'Api\ConstructionController@constructionGet');
 
-     $route->any('constructionList', 'Api\ConstructionController@constructionList');
 
-     $route->any('constructionEdit', 'Api\ConstructionController@constructionEdit');
 
-     $route->any('constructionDetail', 'Api\ConstructionController@constructionDetail');
 
-     $route->any('constructionAdd', 'Api\ConstructionController@constructionAdd');
 
-     $route->any('constructionDel', 'Api\ConstructionController@constructionDel');
 
-     $route->any('deliveryNoteList', 'Api\ConstructionController@deliveryNoteList');
 
-     $route->any('deliveryNoteDetail', 'Api\ConstructionController@deliveryNoteDetail');
 
-     $route->any('deliveryNoteEdit', 'Api\ConstructionController@deliveryNoteEdit');
 
-     $route->any('deliveryNoteDel', 'Api\ConstructionController@deliveryNoteDel');
 
-     $route->any('employeeList', 'Api\EmployeeController@employeeList');
 
-     $route->any('departList', 'Api\EmployeeController@departList');
 
-     $route->any('storehouseList', 'Api\StorehouseController@storehouseList');
 
-     $route->any('basicTypeList', 'Api\BasicTypeController@basicTypeList');
 
-     $route->any('productList', 'Api\ProductController@productList');
 
-     $route->any('supplierList', 'Api\SupplierController@customerList');
 
-     $route->any('customerList', 'Api\CustomerController@customerList');
 
-     $route->any('sportsBagOrderList', 'Api\SportsBagController@orderList');
 
-     $route->any('productAdd', 'Api\ProductController@productAdd');
 
-     $route->any('productCategoryList', 'Api\ProductController@productCategoryList');
 
-     //退换货
 
-     $route->any('ReturnExchangeOrderList', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderList');
 
-     $route->any('ReturnExchangeOrderEdit', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderEdit');
 
-     $route->any('ReturnExchangeOrderDetail', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderDetail');
 
-     $route->any('ReturnExchangeOrderAdd', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderAdd');
 
-     $route->any('ReturnExchangeOrderDel', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderDel');
 
-     //排班设置
 
-     $route->any('scheduleList', 'Api\ScheduleController@getList');
 
-     $route->any('scheduleEdit', 'Api\ScheduleController@edit');
 
-     $route->any('scheduleDetail', 'Api\ScheduleController@detail');
 
-     $route->any('scheduleAdd', 'Api\ScheduleController@add');
 
-     $route->any('scheduleDel', 'Api\ScheduleController@del');
 
-     $route->any('scheduleGetForConstruction', 'Api\ScheduleController@scheduleGetForConstruction');
 
-     $route->any('getScheduleSetting', 'Api\ScheduleController@getScheduleSetting');
 
-     //排期
 
-     $route->any('pq','Api\DeleteController@pq');
 
-     $route->any('menuList', 'Api\SysMenuController@menuList');
 
-     //设置列表
 
-     $route->any('productInventorySetList', 'Api\ProductInventoryController@productInventorySetList');
 
-     $route->any('getMySetting', 'Api\ProductInventoryController@getMySetting');
 
- });
 
 
  |