|
|
|
@ -604,10 +604,9 @@ const simulateBotResponse = async (userMessage) => { |
|
|
|
// 首先进行意图识别 |
|
|
|
const res = await postIntent({ |
|
|
|
content: userMessage, |
|
|
|
language: "cn", |
|
|
|
marketList: "hk,cn,usa,my,sg,vi,in,gb", |
|
|
|
token: |
|
|
|
"pCtw6AYK0EHAaIexoFHsbZjtsfEAIhcmwkCFm6uKko8VPfMvyDiODL9v9c0veic9fIpQbvT8zN4sH/Si6Q", |
|
|
|
language: 'cn', |
|
|
|
marketList: 'hk,cn,usa,my,sg,vi,in,gb', |
|
|
|
token: "pCtw6AYK0EHAaIexoFHsbZjtsfEAIhcmwkCFm6uKko8VPfMvyDiODL9v9c0veic9fIpQbvT8zN4sH/Si6Q", |
|
|
|
}); |
|
|
|
|
|
|
|
console.log("res" + res); |
|
|
|
@ -624,10 +623,10 @@ const simulateBotResponse = async (userMessage) => { |
|
|
|
|
|
|
|
// 获取股票信息 |
|
|
|
const StockInfo = await postStock({ |
|
|
|
recordId, |
|
|
|
parentId, |
|
|
|
stockId, |
|
|
|
token: memberStore.userInfo?.token || "", |
|
|
|
recordId: "42", |
|
|
|
parentId: "0", |
|
|
|
stockId:"42", |
|
|
|
token: memberStore.userInfo?.token || '', |
|
|
|
language: "cn", |
|
|
|
}); |
|
|
|
console.log("StockInfo", StockInfo); |
|
|
|
|