['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('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'); });