diff --git a/src/passport/invite/index.tsx b/src/passport/invite/index.tsx index 0c00cc1..c382e54 100644 --- a/src/passport/invite/index.tsx +++ b/src/passport/invite/index.tsx @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; import { View, Text, Button, Image } from '@tarojs/components'; import Taro, { useRouter } from '@tarojs/taro'; import { SERVER_API_URL } from "@/utils/server"; +import { TenantId } from "@/config/app"; /** * 邀请加入确认页面 @@ -79,7 +80,7 @@ const InvitePage: React.FC = () => { method: 'GET', header: { 'content-type': 'application/json', - 'TenantId': 5 + TenantId } }); @@ -138,7 +139,10 @@ const InvitePage: React.FC = () => { encryptedData, iv }, - header: { 'content-type': 'application/json' } + header: { + 'content-type': 'application/json', + TenantId + } }); if (res.data.code === 200 || res.data.code === 0) {