数据驱动、坚持为客户提供有价值的服务和内容
支付效果展示
1、获取openid
方式一:可以通过wx.login方式获取openid
官方文档:
wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId if