1. 程式人生 > >關於微信第三方登入 AppId 和AppSecret 忘記修改無法登入問題

關於微信第三方登入 AppId 和AppSecret 忘記修改無法登入問題

         公司在對直播專案做二次開發,用了映客,花椒類似原始碼進行ui特效修改。由於是二次開發很多配置當然是配置好了的,而又些功能是自己在以前專案中是沒有遇到的。

這次踩的登入坑,其實就是要知道哪些AppId是要改的在什麼地方改。

ShareSdk  

<Wechat AppId="wx4407c1bfxxxxxxx" AppSecret="axxxxxxxxxxxxxxxxxxxxxx" BypassApproval="false"
Enable="true" Id="4" SortId="4" />

<WechatMoments AppId="wxb6fxxxxxxxxxxxx" 
AppSecret="xxxxxxxxxxxxxxxxxxxxxx43c513619" BypassApproval="false" Enable="true" Id="5" SortId="5" /> <!----> <!--<WechatFavorite--> <!--Id="6"--> <!--SortId="6"--> <!--AppId="wx4868b35061f87885"--> <!--AppSecret="64020361b8ec4c99936c0e3999a9f249"--> <!--Enable="true" />-->
<!-- ShareByAppClient標識是否使用微部落格戶端分享,預設是false --> <QQ AppId="101xxxxxxxxx" AppKey="xxxxxxxxxxxx1CmxWs" Enable="true" Id="7" ShareByAppClient="true" SortId="7" />
其他地方用到微信的Appid通常是在常量工具類中維護。
做個筆記提醒自己,幫助踩到這個坑的人。