提交 38c066ea 编写于 作者: D devil_gong

微信小程序接口更新

上级 72a5b777
......@@ -225,7 +225,7 @@ App({
success: (res) => {
if (res.code) {
wx.request({
url: $this.get_request_url('WechatUserAuth', 'user'),
url: $this.get_request_url('wechatuserauth', 'user'),
method: 'POST',
data: { authcode: res.code },
dataType: 'json',
......@@ -267,7 +267,7 @@ App({
var $this = this;
// 远程解密数据
wx.request({
url: $this.get_request_url('WechatUserInfo', 'user'),
url: $this.get_request_url('wechatuserinfo', 'user'),
method: 'POST',
data: { encrypted_data: auth_data.encryptedData, iv: auth_data.iv, openid: openid },
dataType: 'json',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册