小程序本地测试没有问题,苹果正常,安卓无法发送请求,https ssl证书正常。
- Page({
- data:{
- height:height,
- width:width,
- },
- onLoad:function(options){
- // 页面初始化 options为页面跳转所带来的参数
- wx.login({
- success: function (loginres) {
- code = loginres.code;
- wx.getUserInfo({
- withCredentials:true,
- success: function (getuserinfores) {
- //小程序判断是否绑定用户账号
- var data = {
- encryptedData: getuserinfores.encryptedData,
- iv: getuserinfores.iv,
- code: code,