小程序用户openid设置放缓存

wx.setStorageSync('openid', res.data.data.openid),设置

var openid = wx.getStorageSync('openid')获取