daimingkang

763 经验值

想问一下!在浏览器上方显示消息提醒怎么做的 就是有1这种数字除了js 有其他方法吗?

恩 ,这个地方好了 感觉还需要多实战实战

我就是直接粘贴的

Route::post('oauth/authorize', ['as' => 'oauth.authorize.post', 'middleware' => ['csrf', 'check-authorization-params', 'auth'], function () {

    $params = Authorizer::getAuthCodeRequestParams();
    $params['user_id'] = Auth::user()->id;
    $redirectUri = '/';

    // If the user has allowed the client to access its data, redirect back to the client with an auth code.
    if (Request::has('approve')) {
        $redirectUri = Authorizer::issueAuthCode('user', $params['user_id'], $params);
    }

    // If the user has denied the client to access its data, redirect back to the client with an error message.
    if (Request::has('deny')) {
        $redirectUri = Authorizer::authCodeRequestDeniedRedirectUri();
    }
    return Redirect::to($redirectUri);
}]);

ReflectionException in Container.php line 734: Class csrf does not exist

想知道 这个网站是你用laravel写的吗?