['checkWx']],function ($route){ $route->any('oaCheck', 'Api\OaController@oaCheck'); $route->any('oaOrderState', 'Api\OaController@oaOrderState'); $route->any('checkAllOver', 'Api\OaController@checkAllOver'); //不需要账号登录的 //文件上传统一方法 $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'); $route->any('getSettingTotal', 'Api\ScheduleController@getSettingTotal'); $route->any('getSettingGetDetail', 'Api\ScheduleController@getSettingGetDetail'); });