diff --git a/src/utils/api.js b/src/utils/api.js index feb845a..e6913f1 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -72,11 +72,13 @@ const WechatAuth = { const urlParams = new URLSearchParams(window.location.search); const friend_account_id = urlParams.get('friend_account_id'); const accountId = urlParams.get('accountId'); + const from = urlParams.get('from'); const response = service.post('/auto/login', { code: code, friend_account_id, - accountId + accountId, + from }); const result = await response;