Pārlūkot izejas kodu

:zap: 恢复Tenant-Code问题

smallchill 7 gadi atpakaļ
vecāks
revīzija
5741c81ebb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/api/user.js

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