You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
937 B
60 lines
937 B
import { http } from '../../utils/http'
|
|
|
|
|
|
|
|
export const getData = () => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/ka',
|
|
})
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 意图识别
|
|
* POST /api/deepMate/dmFirst
|
|
* headers: token, content-type: application/json, contentType: application/json, version, client
|
|
* body: { content, language, marketList }
|
|
*/
|
|
export const postIntent = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/testApi/api/deepMate/dmFirst',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
* 获取股票信息
|
|
* headers: token, content-type: application/json, contentType: application/json, version, client
|
|
* body: { language, token, recordId, parentId, stockId }
|
|
*/
|
|
export const postStock = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/api/coze/decodingSecond',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
* 获取历史记录
|
|
*/
|
|
|
|
export const postHistory = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/history',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
*
|
|
*/
|
|
|
|
|