Преглед изворни кода

: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",