wx.login({
success:function(res){
if(res.code){
wx.request({
url: "https://ruc.learning.stg.itknown.com/index/logi",
data:{code:res.code},
success:function(respon){
console.log(respon)
}
})
}else{
console.log(\'获取用户登录态失败:\' + res.errMsg);
}
}
})