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