6 changed files with 51 additions and 14 deletions
@ -0,0 +1,10 @@ |
|||
module.exports = { |
|||
getUnionId: async () => { |
|||
// ....
|
|||
return JSON.parse(wx.getStorageSync('userInfo')).unionid || ''; |
|||
}, |
|||
getOpenId: async () => { |
|||
// ....
|
|||
return JSON.parse(wx.getStorageSync('userInfo')).openid || ''; |
|||
}, |
|||
}; |
Loading…
Reference in new issue