对接微信公众号

几年前做过一次,忘了。
最近又有这方面的安排,再看看。

https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Access_Overview.html

参考 https://www.cnblogs.com/han108/p/9597879.html

网页的token是随便写的,需要和自己代码中保持一致。

  1. 需要写代码先部署到服务器,然后将代码里面的token写入到网页中。
  2. 还需要配置java的限制策略
    https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Message_Encryption/Technical_Plan.html

猜你喜欢

转载自www.cnblogs.com/xuehuiping/p/12451802.html