No Description

web.php 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | contains the "web" middleware group. Now create something great!
  11. |
  12. */
  13. Route::get('/', function () {
  14. return view('welcome');
  15. });
  16. Route::group(['namespace' => '\App\Http\Controllers\Web', 'middleware' => ['requestLog']], function () {
  17. Route::any('/jinniu/callback', [
  18. 'uses' => 'CallbackController@jinniuAccountAuth',
  19. 'as' => 'jinniuAccountAuthCallback',
  20. ]);
  21. Route::any('/juxing/callback', [
  22. 'uses' => 'CallbackController@juxingAccountAuth',
  23. 'as' => 'juxingAccountAuthCallback',
  24. ]);
  25. Route::any('/yinqing/callback', [
  26. 'uses' => 'CallbackController@yinqingAccountAuth',
  27. 'as' => 'yinqingAccountAuthCallback',
  28. ]);
  29. Route::any('/adPlacement/callback', [
  30. 'uses' => 'AdPlacementController@handleCallback',
  31. 'as' => 'adPlacementCallback',
  32. ]);
  33. Route::any('/order/callback', [
  34. 'uses' => 'AdPlacementController@orderCallback',
  35. 'as' => 'adPlacementOrderCallback'
  36. ]);
  37. });