index.ts 648 B

12345678910111213141516171819202122
  1. import { httpRequest } from '@/services/http'
  2. /**
  3. * 获取现货行情
  4. */
  5. export function querySpotGoodsPrice(params: Model.SpotGoodsPriceReq) {
  6. return httpRequest<Model.SpotGoodsPriceRsp[]>('/Ferroalloy/GetSpotGoodsPrice', 'get', params);
  7. }
  8. /**
  9. * 查询行情-现货列表
  10. */
  11. export function querySpotgoodsPrice(params?: Model.SpotgoodsPriceReq) {
  12. return httpRequest<Model.SpotgoodsPriceRsp[]>('/Ferroalloy/QuerySpotgoodsPrice', 'get', params);
  13. }
  14. /**
  15. * 查询现货行情配置表
  16. */
  17. export function queryThjSpotQuoteConfig() {
  18. return httpRequest<Model.ThjSpotQuoteConfigRsp[]>('/Ferroalloy/QueryThjSpotQuoteConfig', 'get');
  19. }