首页| 论坛| 消息
主题:temp0816
回帖:@include('home.layout.js')
ROOT.URL_INDEX = "{{ route('chat-index') }}"
require(['lib/login'])

/ 登录页面
Route::any('login', 'OAuthController@login')->name('chat-login');
Route::get('/', function (){
return redirect()->route('chat-index');
});
// oauth登录
Route::group(['prefix' => 'oauth', 'namespace' => 'Home'], function (){
Route::get('github', 'OAuthController@github');
Route::get('github/login', 'OAuthController@githubLogin');
Route::any('wechat', 'OAuthController@wechat');
Route::any('wechat-qrcode', 'OAuthController@wechatQrcode')->name('wechat-qrcode');
Route::any('wechat-login-check', 'OAuthController@loginCheck')->name('wechat-login-check');
});
下一楼›:$event_info = substr($message['EventKey'], 8);
if ($message['EventKey' ..
‹上一楼:Skip to content
Search or jump to…
Pull requests
Issues
Marketplace
E ..

查看全部回帖(15)
«返回主帖