['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('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('salesOrderList', 'Api\SalesOrderController@salesOrderList'); });