-
request
1.微信小程序的请求方式是wx.request
支付宝为my.request
2.微信请求头header: { 'Content-type': 'application/x-www-form-urlencoded' }
,
支付宝请求头headers: { 'content-type': 'application/x-www-form-urlencoded' }
,
这里看起来没区别,但是要注意支付宝请求头中多了一个s
,这个是一个坑,一定要注意 -
隐藏左上角返回首页(小房子)
微信隐藏函数为:wx.hideHomeButton()
支付宝隐藏函数为:my.hideBackHome()