소스 검색

:zap: 恢复Tenant-Code问题

smallchill 7 년 전
부모
커밋
5741c81ebb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,