mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 20:10:30 +08:00
微信小程序接口更新
This commit is contained in:
parent
72a5b77756
commit
38c066ea8b
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user