diff --git a/src/pages/Dashboard/GenerationFlow.tsx b/src/pages/Dashboard/GenerationFlow.tsx index cad3985..25a3d0d 100755 --- a/src/pages/Dashboard/GenerationFlow.tsx +++ b/src/pages/Dashboard/GenerationFlow.tsx @@ -483,7 +483,7 @@ const GenerationFlow: React.FC = ({ businessInfo={currentBusinessInfo} imageTaskId={imageTaskId} mId={analysisData?.m_id ?? 0} - bizType={analysisData?.biz_type ?? 'place'} + industry={analysisData?.industry ?? ''} videoGenerationStatus={videoGenerationStatus} videoGenerationProgress={videoGenerationProgress} onGoToPayment={handleGoToPayment} diff --git a/src/pages/Dashboard/SoundStudioContent.tsx b/src/pages/Dashboard/SoundStudioContent.tsx index 04c5cac..05acaff 100755 --- a/src/pages/Dashboard/SoundStudioContent.tsx +++ b/src/pages/Dashboard/SoundStudioContent.tsx @@ -16,7 +16,7 @@ interface SoundStudioContentProps { businessInfo?: BusinessInfo; imageTaskId: string | null; mId: number; - bizType?: string; + industry?: string; onStatusChange?: (status: string) => void; videoGenerationStatus?: 'idle' | 'generating' | 'complete' | 'error'; videoGenerationProgress?: number; @@ -80,7 +80,7 @@ const SoundStudioContent: React.FC = ({ businessInfo, imageTaskId, mId, - bizType = 'place', + industry = '', onStatusChange, videoGenerationStatus = 'idle', videoGenerationProgress = 0, @@ -377,7 +377,7 @@ const SoundStudioContent: React.FC = ({ m_id: mId, region: businessInfo.region, task_id: imageTaskId, - biz_type: bizType, + industry, orientation, ...(isInstrumental && { instrumental: true }), }); diff --git a/src/types/api.ts b/src/types/api.ts index 1c5c759..3f8d653 100644 --- a/src/types/api.ts +++ b/src/types/api.ts @@ -36,12 +36,12 @@ export interface CrawlingResponse { image_list: string[]; image_count: number; m_id: number; - biz_type: string; + industry: string; processed_info: { customer_name: string; region: string; detail_region_info: string; - biz_type: string; + industry: string; }; marketing_analysis: MarketingAnalysis; } @@ -69,7 +69,7 @@ export interface LyricGenerateRequest { m_id: number; region: string; task_id: string; - biz_type?: string; + industry?: string; orientation?: 'vertical' | 'horizontal'; instrumental?: boolean; }