wx.login()登陆流程:在onlaunch时验证token是否存在,不存在执行登录;存在的话继续验证token是否过期,过期的话执行登录;不过期将token存储到globaldata全局变量中。