瀏覽代碼

add route api

jauhar54 2 年之前
父節點
當前提交
e28ccfd896
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      routes/api_v1.php

+ 2
- 0
routes/api_v1.php 查看文件

@@ -74,6 +74,8 @@ Route::group(
74 74
         Route::get('/all', ['as' => 'index', 'uses' => 'TransportationController@getAll']);
75 75
         Route::get('/find-by-user/{data_id?}', ['as' => 'find_by_user', 'uses' => 'TransportationController@getByUser']);
76 76
         Route::post('/store', ['as' => 'store', 'uses' => 'TransportationController@postStore']);
77
+        Route::post('/update', ['as' => 'store', 'uses' => 'TransportationController@postUpdate']);
78
+        Route::post('/delete', ['as' => 'store', 'uses' => 'TransportationController@delete']);
77 79
     }
78 80
 );
79 81
 // End Transportation

Loading…
取消
儲存