-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WxOpenMpServiceImpl类非public不方便使用 #1122
Comments
@007gzs 有空看一下吧 |
判断这个的原因是什么?open的需要做什么特殊处理么? |
是的,举个例子,比如redirectURI这个回调地址,公众号是页面将跳转至 redirect_uri/?code=CODE&state=STATE。然而开放平台是redirect_uri?code=CODE&state=STATE&appid=APPID 再直接点说,就是有那么一些用户,想用自己的域名在公众号中使用,然而,又想绑定直接的域名,并且提供了key,这个时候就没有使用open平台,但是他又是在我这开了一个应用 |
因为open的代授权,只能解决比如使用自己的域名 |
|
因为这两个的获取方式不同,大部分使用场景下,调用者应该是明白自己是要用三方平台还是直接公众号的,你这种情况继承一下比判断classname好点 |
不过我认为一个标准的开发者还是能很清晰自己是在使用WxOpenMpServiceImpl还是WxMpServiceImpl的,毕竟Open是一个明确的标识,而且WxOpenMpServiceImpl 是集成 WxMpServiceImpl的。 |
可以,这个改为public,不用再讨论了。 |
3.4.8.B测试版本已添加public参数,欢迎试用 |
感谢 |
The text was updated successfully, but these errors were encountered: