Browse Source

:ok_hand: 安排oauth2模块

smallchill 7 năm trước cách đây
mục cha
commit
336b0375bc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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",