ソースを参照

:ok_hand: 安排oauth2模块

smallchill 7 年 前
コミット
336b0375bc
1 ファイル変更1 行追加0 行削除
  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",