![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
文章平均质量分 91
DM搬运工
梦想还是要有的
展开
-
小程序支付 ---- Java完整代码
第一步:获取支付参数 获取支付时所需openId参考此篇博文 js调用,获取参数 wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId wx.request({ url: that.data.url + '/mini_Weixin_getOpenId.action', data:{"code":res.code}, method:'G原创 2020-08-12 11:14:18 · 783 阅读 · 2 评论 -
微信小程序获取openId ---- JAVA
前端代码: 小程序登录时获取code wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId wx.request({ url: that.data.url + '/mini_Weixin_getOpenId.action', data:{"code":res.code}, method:'GET', header: {原创 2020-07-29 15:08:08 · 236 阅读 · 0 评论