> 插件說明:支持第三方QQ,新浪,微信登錄
~~~
依賴會員模塊,使用前先安裝會員模塊
~~~
**調用方法:**
`{:hook('sync_login')}`//登錄按鈕 默認已經在會員登錄中顯示
**授權鏈接:**
~~~
{:url('addons/synclogin/login',array('type'=>'qq'))} //qq
{:url('addons/synclogin/login',array('type'=>'sina'))} //新浪
{:url('addons/synclogin/login',array('type'=>'weixin'))} //微信
~~~
**第三方接口申請地址:**
~~~
https://connect.qq.com/index.html //qq
https://open.weibo.com/connect //新浪
https://open.weixin.qq.com/ //微信pc掃碼登錄(二選一)
https://mp.weixin.qq.com/ //微信公眾號登錄(二選一)
~~~
**接口填寫的回調地址:**
~~~
http://您的域名/index.php?s=/addons/synclogin/callback/type/qq.html //qq
http://您的域名/index.php?s=/addons/synclogin/callback/type/sina.html //新浪
http://您的域名/index.php?s=/addons/synclogin/callback/type/weixin.html //微信
~~~