dyjh před 6 roky
rodič
revize
7b20e73ee1
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      routes/web.php

+ 3 - 1
routes/web.php

xqd
@@ -40,7 +40,9 @@ Route::get('image/{md5}', [
 // });
 
 Route::get('/test', 'TestController@index');
-Route::get('/web/bind', 'Web\AuthController@bind');
+Route::any('/web/bind', 'Web\AuthController@bind');
+Route::any('/web/success', 'Web\AuthController@success');
+Route::any('/web/error', 'Web\AuthController@error');
 Route::any('/web/notify', 'Web\AuthController@notify');
 Route::any('/web/notify-account', 'Web\AuthController@notifyAccount');
 /*Route::group(['prefix'=>'web','namespace'=>'Web','middleware' => ['web', 'wechat.oauth:snsapi_userinfo']],function (){