ANG YU 4 лет назад
Родитель
Сommit
27c5e9a534

+ 0 - 5
app/Http/Controllers/OwnerLogisticFeeDetailController.php

@@ -23,11 +23,6 @@ class OwnerLogisticFeeDetailController extends Controller
     /** @var  $archiveService OwnerBillReportArchiveService */
     private $archiveService;
 
-    public function __construct()
-    {
-        $this->middleware('auth');
-    }
-
     /**
      * Display a listing of the resource.
      *

+ 0 - 7
app/Http/Controllers/OwnerLogisticFeeReportController.php

@@ -25,13 +25,6 @@ class OwnerLogisticFeeReportController extends Controller
     /** @var  $archiveService OwnerBillReportArchiveService */
     private $archiveService;
 
-    /**
-     * OwnerLogisticFeeReportController constructor.
-     */
-    public function __construct()
-    {
-        $this->middleware('auth');
-    }
 
 
     /**

+ 0 - 1
app/Http/Controllers/OwnerProcurementSettlementBillController.php

@@ -31,7 +31,6 @@ class OwnerProcurementSettlementBillController extends Controller implements Set
     {
         $this->archiveService = app('OwnerBillReportArchiveService');
         $this->service = app('OwnerProcurementSettlementBillService');
-        $this->middleware('auth');
     }
 
     public function index(Request $request)

+ 0 - 4
app/Http/Controllers/OwnerStoreFeeDetailController.php

@@ -23,10 +23,6 @@ class OwnerStoreFeeDetailController extends Controller implements SettlementBill
     /** @var  $archiveService OwnerBillReportArchiveService */
     private $archiveService;
 
-    public function __construct()
-    {
-        $this->middleware('auth');
-    }
 
     /**
      * Display a listing of the resource.

+ 0 - 8
app/Http/Controllers/OwnerStoreFeeReportController.php

@@ -22,14 +22,6 @@ class OwnerStoreFeeReportController extends Controller
     /** @var  $archiveService OwnerBillReportArchiveService */
     private $archiveService;
 
-    /**
-     * OwnerStoreFeeReportController constructor.
-     */
-    public function __construct()
-    {
-        $this->middleware('auth');
-    }
-
 
     public function index(Request $request)
     {

+ 0 - 1
app/Http/Controllers/OwnerStoreOutFeeDetailController.php

@@ -27,7 +27,6 @@ class OwnerStoreOutFeeDetailController extends Controller implements SettlementB
     {
         $this->service = app('OwnerStoreOutFeeDetailService');
         $this->archiveService = app('OwnerBillReportArchiveService');
-        $this->middleware('auth');
     }
 
     public function index(Request $request)

+ 0 - 1
app/Http/Controllers/OwnerSundryFeeDetailSettlementBillController.php

@@ -30,7 +30,6 @@ class OwnerSundryFeeDetailSettlementBillController extends Controller implements
     {
         $this->archiveService = app('OwnerBillReportArchiveService');
         $this->service = app('OwnerSundryFeeDetailService');
-        $this->middleware('auth');
     }
 
 

+ 0 - 8
app/Http/Controllers/SettlementBillOwnerAreaFeeController.php

@@ -24,14 +24,6 @@ class SettlementBillOwnerAreaFeeController extends Controller
     /** @var  $archiveService OwnerBillReportArchiveService */
     private $archiveService;
 
-    /**
-     * SettlementBillOwnerAreaFeeController constructor.
-     */
-    public function __construct()
-    {
-        $this->middleware('auth');
-    }
-
     public function index(Request $request)
     {
         $this->service = app('SettlementBillsAreaFeeService');

+ 1 - 2
routes/web.php

@@ -784,8 +784,7 @@ Route::group(['prefix'=>'finance'],function(){
     Route::get('billConfirmation','CustomerController@financeBillConfirmation');
     Route::post('updateBillReport','CustomerController@updateBillReport');
     Route::post('billConfirm','CustomerController@billConfirm');
-    Route::group(['prefix'=>'settlementBills'],function(){
-//        Route::resource('ownerSundryFeeDetails', 'OwnerSundryFeeDetailsController', ['only' => ['index', 'create', 'store', 'update', 'edit','destroy']]);
+    Route::middleware(['auth'])->prefix('settlementBills')->group(function(){
         Route::group(['prefix' => 'logisticFee'], function () {
             Route::post('detail/confirmBill', 'OwnerLogisticFeeDetailController@confirmBill');
             Route::post('report/confirmBill', 'OwnerLogisticFeeReportController@confirmBill');