当前位置:Gxlcms > PHP教程 > wecenter使用QQ互联登录报错redirecturiisillegal100010

wecenter使用QQ互联登录报错redirecturiisillegal100010

时间:2021-07-01 10:21:17 帮助过:3人阅读

决解方案:
首先将回调地址改为:“http://你的域名/account/openid/qq/bind/”
然后需要开启伪静态设置,开启伪静态后页面出现错误 需要在nginx配置伪静态。
我用的是nginx 服务器 ,下面贴出伪静态配置文件

server {
        listen       80;
        server_name 域名 ;
        index index.html index.htm index.php;
        root  项目所在的目录;
        location / {
        try_files $uri$uri/ /index.php$is_args$args;
        }
         location ~ \.php$ {
        include fastcgi.conf;
        #fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        #fastcgi_pass unix:/var/run/php5-fpm.sock;
        #try_files$uri=404;
    }
        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
        {
                expires 30d;
        }
        location ~ .*\.(js|css)?$
        {
                expires 1h;
        }
        include /alidata/server/nginx/conf/rewrite/default.conf;
        access_log  /alidata/log/nginx/access/default.log;
}

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('
  • ').text(i)); }; $numbering.fadeIn(1700); }); });

    以上就介绍了 wecenter使用QQ互联登录报错redirect uri is illegal100010,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

  • 人气教程排行