feat: 完成全系统30个功能点开发与E2E全链路验收 (8轮调度32个子代理闭环)
- 模块一: 出海案例作品集、博客动态发布、人名发音语音条、RTL阿语多语言切换 - 模块二: AI顾问人设配置、行业术语库润色、RAG切片沙盒调试、流式会话与意向留资卡片 - 模块三: 全球访客雷达大屏、多维加权意向算分、外部CRM对接推送、团队公海池流转 - 模块四: 移动端NFC安全挂失、NFC动态路由规则配置、动态防伪验签、展会制卡Zip批量导出 - 模块五: 组织架构与名片分配、移动端个人中心设置、离职交接与历史线索迁移、安全审计日志 - 模块六: Stripe国际信用卡订阅Webhook、独立二级域名与SSL检测、坐席配额预警、多币种发票 - 模块七: 纸质名片OCR解析入库、国际商务日程RFC 5545 ICS日历、微官网离线SWR预加载、展会实时排行榜大屏 - 模块八: 全球出海SEO OpenGraph元标签注入与社交爬虫探测、30点端到端全链路业务流集成测试套件
这个提交包含在:
@@ -0,0 +1,82 @@
|
||||
import { BaseEntity } from '../../../comm/entity/base';
|
||||
import { Column, Entity, Index } from 'typeorm';
|
||||
import type { CardCase } from '../../../comm/types/omni';
|
||||
|
||||
/**
|
||||
* 出海案例作品集实体
|
||||
* 映射数据表 card_cases,严格契合 CardCase 跨端数据契约
|
||||
*/
|
||||
@Entity('card_cases')
|
||||
export class CardCasesEntity extends BaseEntity implements CardCase {
|
||||
@Index()
|
||||
@Column({
|
||||
name: 'card_id',
|
||||
comment: '所属名片 ID',
|
||||
type: 'bigint',
|
||||
})
|
||||
cardId: number;
|
||||
|
||||
@Column({
|
||||
name: 'title',
|
||||
comment: '案例标题/项目名称',
|
||||
length: 150,
|
||||
})
|
||||
title: string;
|
||||
|
||||
@Column({
|
||||
name: 'client',
|
||||
comment: '客户/出海品牌名称',
|
||||
length: 100,
|
||||
nullable: true,
|
||||
})
|
||||
client: string;
|
||||
|
||||
@Column({
|
||||
name: 'duration',
|
||||
comment: '项目周期 (如: 2024.01 - 2024.06)',
|
||||
length: 50,
|
||||
nullable: true,
|
||||
})
|
||||
duration: string;
|
||||
|
||||
@Column({
|
||||
name: 'metrics',
|
||||
comment: '量化成效/KPI (如: +150% 留资率, 2M+ 曝光)',
|
||||
length: 255,
|
||||
nullable: true,
|
||||
})
|
||||
metrics: string;
|
||||
|
||||
@Column({
|
||||
name: 'cover_image',
|
||||
comment: '案例封面图 URL',
|
||||
length: 500,
|
||||
nullable: true,
|
||||
})
|
||||
coverImage: string;
|
||||
|
||||
@Column({
|
||||
name: 'pdf_url',
|
||||
comment: '案例详情 PDF / 白皮书 URL',
|
||||
length: 500,
|
||||
nullable: true,
|
||||
})
|
||||
pdfUrl: string;
|
||||
|
||||
@Column({
|
||||
name: 'description',
|
||||
comment: '案例详情简述/背景成果',
|
||||
type: 'text',
|
||||
nullable: true,
|
||||
})
|
||||
description: string;
|
||||
|
||||
@Index()
|
||||
@Column({
|
||||
name: 'sort_order',
|
||||
comment: '排序序号 (升序)',
|
||||
type: 'int',
|
||||
default: 0,
|
||||
})
|
||||
sortOrder: number;
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户