|
|
@@ -1417,8 +1417,10 @@ export const aiDeleteConversation = (id) => {
|
|
|
}
|
|
|
|
|
|
// 报告快速分析(免费版每日1次,付费版多轮)
|
|
|
-export const reportQuickAnalyze = (query, reportId, conversationId) => {
|
|
|
- var data = { query: query, reportId: reportId }
|
|
|
+export const reportQuickAnalyze = (query, reportId, conversationId, draftId) => {
|
|
|
+ var data = { query: query }
|
|
|
+ if (reportId) data.reportId = reportId
|
|
|
+ if (draftId) data.draftId = draftId
|
|
|
if (conversationId) data.conversationId = conversationId
|
|
|
return request('/api/ai/report/analyze', 'POST', data)
|
|
|
}
|