From 336b0375bc91983995a3d48b6ec05f18de3e55fe Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 25 Mar 2019 18:38:47 +0800 Subject: [PATCH] =?UTF-8?q?:ok=5Fhand:=20=E5=AE=89=E6=8E=92oauth2=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/user.js b/src/api/user.js index 21090a0..14018c5 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -8,6 +8,7 @@ export const loginByUsername = (tenantCode, username, password, type) => request 'Tenant-Code': tenantCode }, params: { + tenantCode, username, password, grant_type: "password",