<?php
!defined('__BASE_SITE__') && exit('AccessForbidden'); Route::group( [ 'middleware' => [ \TechOnline\Laravel\Middleware\BaseMiddleware::class, \TechSoft\Laravel\Api\Middleware\ApiTokenCheckAndGenerateMiddleware::class, \App\Http\Middleware\MemberAuth::class, ] ], function () { Route::match(['get', 'post'], 'login', '\Mod\Member\Main\MemberController@loginView'); Route::match(['get', 'post'], 'login/captcha', '\Mod\Member\Main\MemberController@loginCaptchaView'); Route::match(['get', 'post'], 'logout', '\Mod\Member\Main\MemberController@logoutView'); Route::match(['get', 'post'], 'register', '\Mod\Member\Main\MemberController@registerView'); Route::match(['get', 'post'], 'register/captcha', '\Mod\Member\Main\MemberController@registerCaptchaView'); Route::match(['get', 'post'], 'register/captcha_verify', '\Mod\Member\Main\MemberController@registerCaptchaVerifyView'); Route::match(['get', 'post'], 'register/phone_verify', '\Mod\Member\Main\MemberController@registerPhoneVerifyView'); Route::match(['get', 'post'], 'register/email_verify', '\Mod\Member\Main\MemberController@registerEmailVerifyView'); Route::match(['get', 'post'], 'retrieve', '\Mod\Member\Main\MemberController@retrieveView'); Route::match(['get', 'post'], 'retrieve/email', '\Mod\Member\Main\MemberController@retrieveEmailView'); Route::match(['get', 'post'], 'retrieve/email_verify', '\Mod\Member\Main\MemberController@retrieveEmailVerifyView'); Route::match(['get', 'post'], 'retrieve/phone', '\Mod\Member\Main\MemberController@retrievePhoneView'); Route::match(['get', 'post'], 'retrieve/phone_verify', '\Mod\Member\Main\MemberController@retrievePhoneVerifyView'); Route::match(['get', 'post'], 'retrieve/captcha', '\Mod\Member\Main\MemberController@retrieveCaptchaView'); Route::match(['get', 'post'], 'retrieve/reset', '\Mod\Member\Main\MemberController@retrieveResetView'); Route::get('sso/client', '\Mod\Member\Main\MemberController@ssoClientView'); Route::get('sso/server', '\Mod\Member\Main\MemberController@ssoServerView'); Route::get('sso/server_success', '\Mod\Member\Main\MemberController@ssoServerSuccessView'); Route::get('sso/server_logout', '\Mod\Member\Main\MemberController@ssoServerLogoutView'); Route::get('sso/client_logout', '\Mod\Member\Main\MemberController@ssoClientLogoutView'); Route::match(['get', 'post'], 'oauth_login_{oauthType}', '\Mod\Member\Main\MemberController@oauthLoginView'); Route::match(['get', 'post'], 'oauth_callback_{oauthType}', '\Mod\Member\Main\MemberController@oauthCallbackView'); Route::match(['get', 'post'], 'oauth_bind_{oauthType}', '\Mod\Member\Main\MemberController@oauthBindView'); Route::match(['get', 'post'], 'oauth_wechat_proxy', '\Mod\Member\Main\MemberController@oauthWechatProxyView'); Route::match(['get', 'post'], 'member/profile_captcha', '\Mod\Member\Main\MemberProfileController@captchaView'); Route::match(['get', 'post'], 'member/profile_password', '\Mod\Member\Main\MemberProfileController@passwordView'); Route::match(['get', 'post'], 'member/profile_avatar', '\Mod\Member\Main\MemberProfileController@avatarView'); Route::match(['get', 'post'], 'member/profile_email', '\Mod\Member\Main\MemberProfileController@emailView'); Route::match(['get', 'post'], 'member/profile_email_verify', '\Mod\Member\Main\MemberProfileController@emailVerifyView'); Route::match(['get', 'post'], 'member/profile_phone', '\Mod\Member\Main\MemberProfileController@phoneView'); Route::match(['get', 'post'], 'member/profile_phone_verify', '\Mod\Member\Main\MemberProfileController@phoneVerifyView'); Route::match(['get', 'post'], 'member/message', '\Mod\Member\Main\MemberMessageController@listsView'); Route::match(['get', 'post'], 'member/message_delete', '\Mod\Member\Main\MemberMessageController@deleteView'); Route::match(['get', 'post'], 'member/message_read', '\Mod\Member\Main\MemberMessageController@readView'); Route::match(['get', 'post'], 'member/message_read_all', '\Mod\Member\Main\MemberMessageController@readAllView'); } ); Route::group( [ 'prefix' => config('env.ADMIN_PATH', '/admin/'), 'middleware' => [ \TechSoft\Laravel\Admin\Middleware\AdminAuthMiddleware::class, ] ], function () { } ); 