Browse Source

:ok_hand: 安排oauth2模块

smallchill 7 years ago
parent
commit
336b0375bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/api/user.js

+ 1 - 0
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",