Skip to content
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

[4.0]自定义微信API的区域接入点 #636

Closed
hawkefly opened this issue Apr 5, 2017 · 1 comment
Closed

[4.0]自定义微信API的区域接入点 #636

hawkefly opened this issue Apr 5, 2017 · 1 comment
Labels
Milestone

Comments

@hawkefly
Copy link

hawkefly commented Apr 5, 2017

微信提供了如下接入点,建议在配置文件中增加这个配置。

  1. 通用域名(api.weixin.qq.com),使用该域名将访问官方指定就近的接入点;
  2. 上海域名(sh.api.weixin.qq.com),使用该域名将访问上海的接入点;
  3. 深圳域名(sz.api.weixin.qq.com),使用该域名将访问深圳的接入点;
  4. 香港域名(hk.api.weixin.qq.com),使用该域名将访问香港的接入点。
@overtrue overtrue added this to the 4.0 milestone Apr 5, 2017
@mingyoung
Copy link
Collaborator

mingyoung commented Apr 21, 2017

短链接转换接口地址:

https://apihk.mch.weixin.qq.com/tools/shorturl (建议接入点:东南亚)
https://apius.mch.weixin.qq.com/tools/shorturl (建议接入点:其它)
https://api.mch.weixin.qq.com/tools/shorturl (建议接入点:中国国内)

Doc:转换短链接


Q: Which server should I send API requests to?

A: If you have an International Official Account, use api.wechat.com.
If you have a China Official Account, use api.weixin.qq.com.

http://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/faq&symbol=faqs-oa-technical

@mingyoung mingyoung changed the title 建议可配置微信API的区域接入点 [4.0]自定义微信API的区域接入点 Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants