From 5741c81ebb1ccd95680059f23038b65a002467a3 Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 4 Jun 2019 17:23:08 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=81=A2=E5=A4=8DTenant-Code=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/user.js b/src/api/user.js index 7ff9106..f97885e 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -5,7 +5,7 @@ export const loginByUsername = (tenantId, username, password, type) => request({ url: '/api/blade-auth/oauth/token', method: 'post', headers: { - 'Tenant-Code': tenantId + 'Tenant-Id': tenantId }, params: { tenantId,