Ver código fonte

修改ai分析接口

zhujing 1 semana atrás
pai
commit
eed48e26a5

+ 1 - 1
ui/smarttrade-platform/src/api/customer/index.js

@@ -6,4 +6,4 @@ export const getCustomerDetail = (params = {}) => get('/router/rest/customerTrad
 
 export const getCustomerStats = (params = {}) => get('/router/rest/customerTrade/stats', params)
 
-export const blocking = (data = {}) => post('/router/rest/chat/blocking', data,{ timeout: 90000 })
+export const blocking = (data = {}) => post('/router/rest/workflows/blocking', data,{ timeout: 90000 })

+ 3 - 3
ui/smarttrade-platform/src/components/customerDetail.vue

@@ -168,12 +168,12 @@
     const aiContentLoading = ref(false)
     const aiStreaming= (id) =>{
         let params = {
-            appId: "app-rQrSHhudWbi5LVRkIX4tfVrg",
+            appId: "app-987GIlcekdNz6P4Zy9Gg5cut",
             inputs: {"analysis_batch_no":"1","customer_id":+id},
-            query: "1",
+            // query: "1",
             response_mode: "blocking",
             user: "1",
-            files:[]
+            // files:[]
         }
         if(aiContentLoading.value) return
         aiContentLoading.value = true