Skip to content

Let's use AI to Earn!

style: 1

牛文政8e457f5227aa
diff --git a/commont/AccountEnum.ts b/commont/AccountEnum.ts
index c9fa31ea..797e68ae 100644
--- a/commont/AccountEnum.ts
+++ b/commont/AccountEnum.ts
@@ -5,6 +5,48 @@ export enum AccountType {
WxSph = 'wxSph', // 微信视频号
KWAI = 'KWAI', // 快手
}
+// 账号类型信息
+export const AccountTypeInfoMap = new Map<
+ AccountType,
+ {
+ name: string;
+ icon: string;
+ accountType: AccountType;
+ }
+>([
+ [
+ AccountType.Douyin,
+ {
+ accountType: AccountType.Douyin,
+ name: '抖音',
+ icon: 'https://ai-to-earn.oss-cn-beijing.aliyuncs.com/comment/platlogo/logo-douyin.png',
+ },
+ ],
+ [
+ AccountType.Xhs,
+ {
+ accountType: AccountType.Xhs,
+ name: '小红书',
+ icon: 'https://ai-to-earn.oss-cn-beijing.aliyuncs.com/comment/platlogo/logo-xiaohongshu.png',
+ },
+ ],
+ [
+ AccountType.WxSph,
+ {
+ accountType: AccountType.WxSph,
+ name: '微信视频号',
+ icon: 'https://ai-to-earn.oss-cn-beijing.aliyuncs.com/comment/platlogo/logo-shipinhao.png',
+ },
+ ],
+ [
+ AccountType.KWAI,
+ {
+ accountType: AccountType.KWAI,
+ name: '快手',
+ icon: 'https://ai-to-earn.oss-cn-beijing.aliyuncs.com/comment/platlogo/logo-kuaishou.png',
+ },
+ ],
+]);
// 账号状态
export enum AccountStatus {