如何验证请求是否来源于小程序(或微信)?
微信的请求是否会进行加密?
可以通过http请求的Referer判断
格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid}为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版。
https://servicewechat.com/{appid}/{version}/page-frame.html
{appid}
{version}
带参数,或者单开一个请求链接地址