Browse Source

DemandProcessController api 路由添加

ajun 5 years ago
parent
commit
68311f65f8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      routes/apiLocal.php

+ 2 - 1
routes/apiLocal.php

@@ -166,6 +166,7 @@ Route::group(['prefix'=>'demand'],function(){
     Route::post('finish','DemandController@finishApi')->name('demand.finishApi');
     Route::post('claim','DemandController@claimApi')->name('demand.claimApi');
     Route::group(['prefix'=>'process'],function (){
-        Route::post('store','DemandController@storeApi')->name('demand.process.storeApi');
+        Route::post('store','DemandProcessController@storeApi')->name('demand.process.storeApi');
+        Route::delete('destroy','DemandProcessController@destroyApi')->name('demand.process.destroyApi');
     });
 });