ajun 5 лет назад
Родитель
Сommit
8e76dbbe9a
2 измененных файлов с 8 добавлено и 1 удалено
  1. 6 1
      routes/apiLocal.php
  2. 2 0
      routes/web.php

+ 6 - 1
routes/apiLocal.php

@@ -146,4 +146,9 @@ Route::group(['prefix' => 'configuration'],function(){
     Route::delete('{id}','ConfigurationController@destroyApi');
 });
 
-
+/** 服务商 */
+Route::group(['prefix'=>'facilitator'],function(){
+    Route::post('store','DischargeProviderController@storeApi');
+    Route::put('update','DischargeProviderController@updateApi');
+    Route::delete('destroy','DischargeProviderController@destroyApi');
+});

+ 2 - 0
routes/web.php

@@ -219,6 +219,8 @@ Route::group(['prefix'=>'maintenance'],function(){
     Route::get('supplier','SupplierController@index');
     /** 系统配置 */
     Route::get('configuration','ConfigurationController@index');
+    /** 服务商 */
+    Route::resource('facilitator','DischargeProviderController');
 
     Route::get('syncRedisLogs','LogController@syncRedisLogs');
     Route::get('region', 'RegionController@index');