暂无描述

web.php 899B

12345678910111213141516171819202122232425262728293031
  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. });