Browse Source

修改路由
服务商路由
waybill.relating路由
服务商对账单路由
运输relating路由指向

ajun 5 years ago
parent
commit
8c8f14fae9
1 changed files with 5 additions and 6 deletions
  1. 5 6
      routes/web.php

+ 5 - 6
routes/web.php

@@ -220,7 +220,7 @@ Route::group(['prefix'=>'maintenance'],function(){
     /** 系统配置 */
     Route::get('configuration','ConfigurationController@index');
     /** 服务商 */
-    Route::resource('facilitator','DischargeProviderController');
+    Route::resource('facilitator','FacilitatorController');
 
     Route::get('syncRedisLogs','LogController@syncRedisLogs');
     Route::get('region', 'RegionController@index');
@@ -258,7 +258,6 @@ Route::group(['prefix'=>'maintenance'],function(){
 Route::get('maintenance', function () {return view('maintenance.index');});
 
 Route::group(['prefix'=>'transport'],function(){
-
     /** 运单 */
     Route::group(['prefix'=>'waybill'],function(){
         /** 置顶 */
@@ -273,7 +272,7 @@ Route::group(['prefix'=>'transport'],function(){
         Route::post('deleteImg','WaybillController@deleteImg');
         Route::post('seekOrder','WaybillController@seekOrder');
         Route::post('upload','WaybillController@upload');
-        Route::get('relating',function (){return view('waybill.menuWaybill');});
+        Route::get('relating',function (){return view('transport.waybill.menuWaybill');});
         Route::get('recycle', 'WaybillController@recycle');
         Route::post('refreshWaveHouseWeight','WaybillController@refreshWaveHouseWeight');
         Route::get('index','WaybillController@index');
@@ -305,8 +304,8 @@ Route::group(['prefix'=>'transport'],function(){
         });
         /** 服务商  对账单*/
         Route::group(['prefix'=>'provider'],function(){
-            Route::get('index','DischargeProviderController@statementIndex');
-            Route::get('export','DischargeProviderController@exportStatement');
+            Route::get('index','FacilitatorController@statementIndex');
+            Route::get('export','FacilitatorController@exportStatement');
         });
     });
 });
@@ -324,7 +323,7 @@ Route::group(['prefix'=>'waybill'],function(){
     Route::post('deleteImg','WaybillController@deleteImg');
     Route::post('seekOrder','WaybillController@seekOrder');
     Route::post('upload','WaybillController@upload');
-    Route::get('relating',function (){return view('waybill.menuWaybill');});
+    Route::get('relating',function (){return view('transport.waybill.menuWaybill');});
     Route::get('recycle', 'WaybillController@recycle');
     Route::post('refreshWaveHouseWeight','WaybillController@refreshWaveHouseWeight');
     Route::get('index','WaybillController@index');