公司在对直播项目做二次开发,用了映客,花椒类似源码进行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通常是在常量工具类中维护。
做个笔记提醒自己,帮助踩到这个坑的人。