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.
 
 
 
 
 

68 lines
1.1 KiB

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: '/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/deepMate/dmSecond',
data
})
}
/**
* 获取历史记录
*/
export const postHistory = (data) => {
return http({
method: 'POST',
url: '/api/deepMate/dmList',
data
})
}
/**
* 历史记录详情
*/
export const postHistoryDetail = (data) => {
return http({
method: 'POST',
url: '/api/deepMate/clickRecord',
data
})
}