index.ts 456 B

123456789101112131415161718192021
  1. import http from '@/services/http'
  2. /**
  3. * 历史行情
  4. */
  5. export function queryHistoryDatas(params: { goodscode?: string }) {
  6. return http.commonRequest<Ermcp.QueryHistoryDatasRsp[]>({
  7. url: '/Quote/QueryHistoryDatas',
  8. params,
  9. })
  10. }
  11. /**
  12. * 历史行情
  13. */
  14. export function queryTSData(params: { goodscode?: string }) {
  15. return http.commonRequest<Ermcp.QueryTSDataRsp>({
  16. url: '/Quote/QueryTSData',
  17. params,
  18. })
  19. }