|
@@ -112,17 +112,17 @@ Route::group(['middleware'=> ['checkLogin']],function ($route){
|
|
|
|
|
|
//跟进记录
|
|
//跟进记录
|
|
$route->any('followUpRecordList', 'Api\FollowUpRecordController@followUpRecordList');
|
|
$route->any('followUpRecordList', 'Api\FollowUpRecordController@followUpRecordList');
|
|
- $route->any('followUpRecordEdit', 'Api\FollowUpRecordController@followUpRecordEdit');
|
|
|
|
- $route->any('followUpRecordAdd', 'Api\FollowUpRecordController@followUpRecordAdd');
|
|
|
|
|
|
+ $route->any('followUpRecordEdit', 'Api\FollowUpRecordController@followUpRecordEdit')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('followUpRecordAdd', 'Api\FollowUpRecordController@followUpRecordAdd')->middleware('OssFileDeal');
|
|
$route->any('followUpRecordDetail', 'Api\FollowUpRecordController@followUpRecordDetail');
|
|
$route->any('followUpRecordDetail', 'Api\FollowUpRecordController@followUpRecordDetail');
|
|
- $route->any('followUpRecordDel', 'Api\FollowUpRecordController@followUpRecordDel');
|
|
|
|
|
|
+ $route->any('followUpRecordDel', 'Api\FollowUpRecordController@followUpRecordDel')->middleware('OssFileDeal');
|
|
|
|
|
|
//客户
|
|
//客户
|
|
$route->any('customerList', 'Api\CustomerController@customerList');
|
|
$route->any('customerList', 'Api\CustomerController@customerList');
|
|
$route->any('customerCapitalList', 'Api\CustomerController@customerList2');
|
|
$route->any('customerCapitalList', 'Api\CustomerController@customerList2');
|
|
- $route->any('customerEdit', 'Api\CustomerController@customerEdit');
|
|
|
|
- $route->any('customerAdd', 'Api\CustomerController@customerAdd');
|
|
|
|
- $route->any('customerDel', 'Api\CustomerController@customerDel');
|
|
|
|
|
|
+ $route->any('customerEdit', 'Api\CustomerController@customerEdit')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('customerAdd', 'Api\CustomerController@customerAdd')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('customerDel', 'Api\CustomerController@customerDel')->middleware('OssFileDeal');
|
|
$route->any('customerDetail', 'Api\CustomerController@customerDetail');
|
|
$route->any('customerDetail', 'Api\CustomerController@customerDetail');
|
|
$route->any('customerGrabbing', 'Api\CustomerController@customerGrabbing');
|
|
$route->any('customerGrabbing', 'Api\CustomerController@customerGrabbing');
|
|
|
|
|
|
@@ -149,18 +149,18 @@ Route::group(['middleware'=> ['checkLogin']],function ($route){
|
|
|
|
|
|
//产品名称
|
|
//产品名称
|
|
$route->any('productList', 'Api\ProductController@productList');
|
|
$route->any('productList', 'Api\ProductController@productList');
|
|
- $route->any('productEdit', 'Api\ProductController@productEdit');
|
|
|
|
- $route->any('productAdd', 'Api\ProductController@productAdd');
|
|
|
|
- $route->any('productDel', 'Api\ProductController@productDel');
|
|
|
|
|
|
+ $route->any('productEdit', 'Api\ProductController@productEdit')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('productAdd', 'Api\ProductController@productAdd')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('productDel', 'Api\ProductController@productDel')->middleware('OssFileDeal');
|
|
$route->any('productDetail', 'Api\ProductController@productDetail');
|
|
$route->any('productDetail', 'Api\ProductController@productDetail');
|
|
$route->any('productList2', 'Api\ProductController@productList2');
|
|
$route->any('productList2', 'Api\ProductController@productList2');
|
|
|
|
|
|
//采购单
|
|
//采购单
|
|
$route->any('purchaseOrderList', 'Api\PurchaseOrderController@purchaseOrderList');
|
|
$route->any('purchaseOrderList', 'Api\PurchaseOrderController@purchaseOrderList');
|
|
- $route->any('purchaseOrderEdit', 'Api\PurchaseOrderController@purchaseOrderEdit');
|
|
|
|
|
|
+ $route->any('purchaseOrderEdit', 'Api\PurchaseOrderController@purchaseOrderEdit')->middleware('OssFileDeal');
|
|
$route->any('purchaseOrderDetail', 'Api\PurchaseOrderController@purchaseOrderDetail');
|
|
$route->any('purchaseOrderDetail', 'Api\PurchaseOrderController@purchaseOrderDetail');
|
|
- $route->any('purchaseOrderAdd', 'Api\PurchaseOrderController@purchaseOrderAdd');
|
|
|
|
- $route->any('purchaseOrderDel', 'Api\PurchaseOrderController@purchaseOrderDel');
|
|
|
|
|
|
+ $route->any('purchaseOrderAdd', 'Api\PurchaseOrderController@purchaseOrderAdd')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('purchaseOrderDel', 'Api\PurchaseOrderController@purchaseOrderDel')->middleware('OssFileDeal');
|
|
|
|
|
|
//特殊采购单
|
|
//特殊采购单
|
|
$route->any('purchaseOrderSpecialList', 'Api\PurchaseOrderSpecialController@purchaseOrderList');
|
|
$route->any('purchaseOrderSpecialList', 'Api\PurchaseOrderSpecialController@purchaseOrderList');
|
|
@@ -196,10 +196,10 @@ Route::group(['middleware'=> ['checkLogin']],function ($route){
|
|
//施工单
|
|
//施工单
|
|
$route->any('constructionGet', 'Api\ConstructionController@constructionGet');
|
|
$route->any('constructionGet', 'Api\ConstructionController@constructionGet');
|
|
$route->any('constructionList', 'Api\ConstructionController@constructionList');
|
|
$route->any('constructionList', 'Api\ConstructionController@constructionList');
|
|
- $route->any('constructionEdit', 'Api\ConstructionController@constructionEdit');
|
|
|
|
|
|
+ $route->any('constructionEdit', 'Api\ConstructionController@constructionEdit')->middleware('OssFileDeal');
|
|
$route->any('constructionDetail', 'Api\ConstructionController@constructionDetail');
|
|
$route->any('constructionDetail', 'Api\ConstructionController@constructionDetail');
|
|
- $route->any('constructionAdd', 'Api\ConstructionController@constructionAdd');
|
|
|
|
- $route->any('constructionDel', 'Api\ConstructionController@constructionDel');
|
|
|
|
|
|
+ $route->any('constructionAdd', 'Api\ConstructionController@constructionAdd')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('constructionDel', 'Api\ConstructionController@constructionDel')->middleware('OssFileDeal');
|
|
$route->any('constructionPdf', 'Api\ConstructionController@constructionPdf');
|
|
$route->any('constructionPdf', 'Api\ConstructionController@constructionPdf');
|
|
$route->any('constructionOperation', 'Api\ConstructionController@constructionOperation');
|
|
$route->any('constructionOperation', 'Api\ConstructionController@constructionOperation');
|
|
|
|
|
|
@@ -241,9 +241,9 @@ Route::group(['middleware'=> ['checkLogin']],function ($route){
|
|
//收付款
|
|
//收付款
|
|
$route->any('paymentReceiptGet', 'Api\PaymentReceiptController@paymentReceiptGet');
|
|
$route->any('paymentReceiptGet', 'Api\PaymentReceiptController@paymentReceiptGet');
|
|
$route->any('paymentReceiptList', 'Api\PaymentReceiptController@paymentReceiptList');
|
|
$route->any('paymentReceiptList', 'Api\PaymentReceiptController@paymentReceiptList');
|
|
- $route->any('paymentReceiptAdd', 'Api\PaymentReceiptController@paymentReceiptAdd');
|
|
|
|
- $route->any('paymentReceiptEdit', 'Api\PaymentReceiptController@paymentReceiptEdit');
|
|
|
|
- $route->any('paymentReceiptDel', 'Api\PaymentReceiptController@paymentReceiptDel');
|
|
|
|
|
|
+ $route->any('paymentReceiptAdd', 'Api\PaymentReceiptController@paymentReceiptAdd')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('paymentReceiptEdit', 'Api\PaymentReceiptController@paymentReceiptEdit')->middleware('OssFileDeal');
|
|
|
|
+ $route->any('paymentReceiptDel', 'Api\PaymentReceiptController@paymentReceiptDel')->middleware('OssFileDeal');
|
|
$route->any('paymentReceiptDetail', 'Api\PaymentReceiptController@paymentReceiptDetail');
|
|
$route->any('paymentReceiptDetail', 'Api\PaymentReceiptController@paymentReceiptDetail');
|
|
|
|
|
|
//排班设置
|
|
//排班设置
|