|
@@ -17,13 +17,19 @@ Route::any('wxSetMobile', 'Api\WxController@setMobile');
|
|
Route::any('wxLogin', 'Api\WxController@login');
|
|
Route::any('wxLogin', 'Api\WxController@login');
|
|
|
|
|
|
Route::group(['middleware'=> ['checkWx']],function ($route){
|
|
Route::group(['middleware'=> ['checkWx']],function ($route){
|
|
|
|
+ //不需要账号登录的
|
|
//文件上传统一方法
|
|
//文件上传统一方法
|
|
$route->any('uploadFile', 'Api\FileUploadController@uploadFile');
|
|
$route->any('uploadFile', 'Api\FileUploadController@uploadFile');
|
|
$route->any('saleOrderList', 'Api\WxController@saleOrderList');
|
|
$route->any('saleOrderList', 'Api\WxController@saleOrderList');
|
|
$route->any('checkAll', 'Api\CheckController@checkAll');
|
|
$route->any('checkAll', 'Api\CheckController@checkAll');
|
|
|
|
|
|
|
|
+ //需要账号登录的
|
|
//采购单
|
|
//采购单
|
|
$route->any('purchaseOrderList', 'Api\WxController@purchaseOrderList');
|
|
$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('employeeList', 'Api\EmployeeController@employeeList');
|
|
$route->any('employeeList', 'Api\EmployeeController@employeeList');
|
|
$route->any('departList', 'Api\EmployeeController@departList');
|
|
$route->any('departList', 'Api\EmployeeController@departList');
|