Share SDK 微信登錄每次獲取openId

微信登錄每次都獲取微信openId:

>添加一下兩行代碼

 private void authorize(Platform plat)
    {
        plat.removeAccount();
        ShareSDK.removeCookieOnAuthorize(true);// 清理cookie
}


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章