From 35f92c9329d9487b4bab7136a5fb3ee21825ef19 Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Sat, 8 Mar 2025 15:43:20 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(affiliate):=20Update=20user?= =?UTF-8?q?=20identifier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/services/admin/index.ts | 2 +- apps/admin/services/admin/typings.d.ts | 2 +- apps/admin/services/common/index.ts | 2 +- apps/admin/services/common/typings.d.ts | 2 +- apps/user/components/affiliate/index.tsx | 4 ++-- apps/user/locales/cs-CZ/affiliate.json | 2 +- apps/user/locales/de-DE/affiliate.json | 2 +- apps/user/locales/en-US/affiliate.json | 2 +- apps/user/locales/es-ES/affiliate.json | 2 +- apps/user/locales/es-MX/affiliate.json | 2 +- apps/user/locales/fa-IR/affiliate.json | 2 +- apps/user/locales/fi-FI/affiliate.json | 2 +- apps/user/locales/fr-FR/affiliate.json | 2 +- apps/user/locales/hi-IN/affiliate.json | 2 +- apps/user/locales/hu-HU/affiliate.json | 2 +- apps/user/locales/ja-JP/affiliate.json | 2 +- apps/user/locales/ko-KR/affiliate.json | 2 +- apps/user/locales/no-NO/affiliate.json | 2 +- apps/user/locales/pl-PL/affiliate.json | 2 +- apps/user/locales/pt-BR/affiliate.json | 2 +- apps/user/locales/ro-RO/affiliate.json | 2 +- apps/user/locales/ru-RU/affiliate.json | 2 +- apps/user/locales/th-TH/affiliate.json | 2 +- apps/user/locales/tr-TR/affiliate.json | 2 +- apps/user/locales/uk-UA/affiliate.json | 2 +- apps/user/locales/vi-VN/affiliate.json | 2 +- apps/user/locales/zh-CN/affiliate.json | 2 +- apps/user/locales/zh-HK/affiliate.json | 2 +- apps/user/services/common/index.ts | 2 +- apps/user/services/common/typings.d.ts | 2 +- apps/user/services/user/index.ts | 2 +- apps/user/services/user/typings.d.ts | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-) diff --git a/apps/admin/services/admin/index.ts b/apps/admin/services/admin/index.ts index f9e3438..37cdd29 100644 --- a/apps/admin/services/admin/index.ts +++ b/apps/admin/services/admin/index.ts @@ -1,5 +1,5 @@ // @ts-ignore - + // API 更新时间: // API 唯一标识: import * as ads from './ads'; diff --git a/apps/admin/services/admin/typings.d.ts b/apps/admin/services/admin/typings.d.ts index da8b2f7..03f1ebf 100644 --- a/apps/admin/services/admin/typings.d.ts +++ b/apps/admin/services/admin/typings.d.ts @@ -1621,8 +1621,8 @@ declare namespace API { }; type UserAffiliate = { - email: string; avatar: string; + identifier: string; registered_at: number; enable: boolean; }; diff --git a/apps/admin/services/common/index.ts b/apps/admin/services/common/index.ts index 73b3bda..61ba129 100644 --- a/apps/admin/services/common/index.ts +++ b/apps/admin/services/common/index.ts @@ -1,5 +1,5 @@ // @ts-ignore - + // API 更新时间: // API 唯一标识: import * as auth from './auth'; diff --git a/apps/admin/services/common/typings.d.ts b/apps/admin/services/common/typings.d.ts index 878dfce..475780b 100644 --- a/apps/admin/services/common/typings.d.ts +++ b/apps/admin/services/common/typings.d.ts @@ -761,8 +761,8 @@ declare namespace API { }; type UserAffiliate = { - email: string; avatar: string; + identifier: string; registered_at: number; enable: boolean; }; diff --git a/apps/user/components/affiliate/index.tsx b/apps/user/components/affiliate/index.tsx index 43f7951..80fd4c2 100644 --- a/apps/user/components/affiliate/index.tsx +++ b/apps/user/components/affiliate/index.tsx @@ -96,8 +96,8 @@ export default function Affiliate() {