链街Dcat后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
913 B

6 years ago
6 years ago
6 years ago
5 years ago
6 years ago
5 years ago
  1. <?php
  2. use App\Http\Controllers\GrabOrderController;
  3. use Illuminate\Support\Facades\Route;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Web Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register web routes for your application. These
  10. | routes are loaded by the RouteServiceProvider within a group which
  11. | contains the "web" middleware group. Now create something great!
  12. |
  13. */
  14. Route::get('/', [GrabOrderController::class, 'index']);
  15. Route::get('/grab_order/{id}', [GrabOrderController::class, 'index'])->where(['id' => '\d+']);
  16. Route::post('/', [GrabOrderController::class, 'grabOrder']);
  17. Route::get('/test', 'TestController@Test');
  18. Route::get('/export', 'TestController@export');
  19. Route::any('/rpc', 'TestController@testRpc');
  20. Route::any('/map', 'TestController@testMap');
  21. Route::any('/add', 'Salesman@addData');