- W26: NestJS API + Next.js Web + Prisma + SQLite scaffold - W26: Lead 模型 + Crawler + 询价发布助手 (线索池 + 一键发布) - W29.x: MCP 集成 (Integration 模型 + connectMcp + publish_rfq 5 工具端到端跑通) - W30: 3 字段补充 (notes / quotationType / quotationDemand) - W31 P1: 自动填 enterpriseId / userId (Prisma companyUserId 字段 + get_app_identity tool + lead.service.ts publishArgs) - W31: detail 详情页 + admin UI 集成管理 (OpenAppListView + AuditLogListView) 关联: ~/Documents/02-平台开发/产品开发/F002-W31-交接文档.md GIT-AUDIT-REPORT-2026-06-24.md
63 lines
1.1 KiB
TypeScript
63 lines
1.1 KiB
TypeScript
export interface Inquiry {
|
|
id: string
|
|
title: string
|
|
source: string
|
|
url: string
|
|
budget?: string
|
|
deadline?: string
|
|
buyer: string
|
|
category: string
|
|
status: 'pending' | 'published' | 'failed'
|
|
createdAt: string
|
|
}
|
|
|
|
export interface Product {
|
|
id: string
|
|
name: string
|
|
spec: string
|
|
unit: string
|
|
price: number
|
|
quantity: number
|
|
imageUrl?: string
|
|
category: string
|
|
status: 'draft' | 'ready' | 'published'
|
|
}
|
|
|
|
export interface Quotation {
|
|
id: string
|
|
supplier: string
|
|
products: Product[]
|
|
totalAmount: number
|
|
submittedAt: string
|
|
}
|
|
|
|
export interface ComparisonResult {
|
|
productName: string
|
|
spec: string
|
|
suppliers: Array<{
|
|
name: string
|
|
price: number
|
|
unit: string
|
|
}>
|
|
bestPrice: number
|
|
bestSupplier: string
|
|
savings: number
|
|
}
|
|
|
|
export interface GeneratedImage {
|
|
id: string
|
|
productName: string
|
|
url: string
|
|
status: 'generating' | 'done' | 'failed'
|
|
style?: string
|
|
}
|
|
|
|
export type ModuleStatus = 'normal' | 'syncing' | 'error'
|
|
|
|
export interface ModuleHealth {
|
|
name: string
|
|
adapterCount: string
|
|
dailyVolume: string
|
|
status: ModuleStatus
|
|
}
|