浏览代码

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

正在加载...
取消
保存