From f006773e9fa73a04d912253e6baff106e7f9acae Mon Sep 17 00:00:00 2001 From: xiaogang <825201136@qq.com> Date: Thu, 25 Dec 2025 15:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home.tsx | 4 +++- src/utils/Requests.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/home.tsx b/src/pages/home.tsx index 71b41d1..f105b3c 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -207,8 +207,10 @@ function Home() { // const redirectUrl = urlParams.get('redirect_url') console.log("tid: ",authStore.tid) const tid = authStore.tid + const tids = [783, 788, 790, 797, 798, 799, 10081, 10084, 10088, 10090, 10092, 10096, 10099, 10100, 10101]; if (code) { - if(tid == 783 || tid == 788 || tid == 790 || tid == 797 || tid == 10081 || tid == 10084 || tid == 10088 || tid == 10090 || tid == 10092 || tid == 10096 || tid == 10099){ + // if(tid == 783 || tid == 788 || tid == 790 || tid == 797 || tid == 10081 || tid == 10084 || tid == 10088 || tid == 10090 || tid == 10092 || tid == 10096 || tid == 10099){ + if(tids.some(v => v == tid)){ const tid = authStore.tid authStore.setCode(code) navigateActivityPage(tid) diff --git a/src/utils/Requests.ts b/src/utils/Requests.ts index cd2dcdd..75b3a13 100644 --- a/src/utils/Requests.ts +++ b/src/utils/Requests.ts @@ -9,7 +9,7 @@ export interface ReqParam { } const test_customer_id = [ - 2,3,674,675,676,677,690,691,695,696,697,698,699,780,781,782,783,784,785,786,787,788,789,790,797 + 2,3,674,675,676,677,690,691,695,696,697,698,699,780,781,782,783,784,785,786,787,788,789,790,797,798,799 ] export const mRequest = async (req: ReqParam) => {