登录

为什么打印出来的data是非法操作?

代码:login: function(){    wx.login({      success:function(res){        console.log(res.code)        wx.request({          url:'https://xiaoyuan.0319zp.cn/interface.php/home/index/login',          data:{ js_code:res.code},          header:{            'content-type' : 'application/json'          },          success:function(res){            console.log(res.data)          }        })      }    })  }

# HTML5
桃月初九 桃月初九 1424 天前 1134 次浏览

全部回复(0) 我要回复

暂无回复
  • 取消 回复 发送