diff --git a/apis/modules/user.js b/apis/modules/user.js index 79d01af..cfea0c6 100644 --- a/apis/modules/user.js +++ b/apis/modules/user.js @@ -10,7 +10,7 @@ export const douYinLogin = (data) => { } export const douYinLoginByOpenid = (data) => { - return post('users/users/user/douYinLoginByOpenid?code=' + data) + return post('users/users/user/douYinLoginByOpenid?openid=' + data) } export const queryProvince = () => { diff --git a/pages/login/login.vue b/pages/login/login.vue index 8e25e67..52d4cbf 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -26,7 +26,7 @@