小程序用户openid设置放缓存

138 阅读1分钟
wx.setStorageSync('openid', res.data.data.openid),设置
var openid = wx.getStorageSync('openid')获取