We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我想知道公众号图床应该怎样使用, 我现在已经有了开发者账号和密钥,但是那个代理域名我不太明白应该填什么 是需要把公众号设置里的服务器URL填写进去吗
The text was updated successfully, but these errors were encountered:
1、代理域名的目的是转发请求,解决调用微信公众号openapi接口跨域问题。比如代理域名:https://xxx.yyy.workers.dev,那么请求https://xxx.yyy.workers.dev/cgi-bin/material/add_material?access_token=${access_token}&type=image 就会被转发到https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${access_token}&type=image
https://xxx.yyy.workers.dev
https://xxx.yyy.workers.dev/cgi-bin/material/add_material?access_token=${access_token}&type=image
https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${access_token}&type=image
2、要求用户有自己的代理服务器的,建议使用cloudflare部署,这里有示例代码。
3、毕竟这个代理域名方式稍微有难度,建议使用浏览器插件形式,插件形式不需要代理域名。这是因为浏览器插件中请求微信公众号openapi接口不存在跨域问题。 插件获取地址 https://mpmd.pages.dev
Sorry, something went wrong.
No branches or pull requests
我想知道公众号图床应该怎样使用,
我现在已经有了开发者账号和密钥,但是那个代理域名我不太明白应该填什么
是需要把公众号设置里的服务器URL填写进去吗
The text was updated successfully, but these errors were encountered: