index.ts 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import { httpRequest } from '@/services/http'
  2. import { HttpParams } from '@/services/http/interface'
  3. /**
  4. * 查询仓单成交明细
  5. */
  6. export function queryWrTradeDetail(params: HttpParams<{ req: Partial< Model.WrTradeDetailReq>, rsp: Model.WrTradeDetailRsp[] }>) {
  7. return httpRequest('/WrTrade2/QueryWrTradeDetail', 'get', params);
  8. }
  9. /**
  10. * 查询仓单委托单
  11. */
  12. export function queryWrOrderDetail(params: HttpParams<{ req: Partial<Model.WrOrderDetailReq>, rsp: Model.WrOrderDetailRsp[] }>) {
  13. return httpRequest('/WrTrade2/QueryWrOrderDetail', 'get', params);
  14. }
  15. /**
  16. * 查询我的订单-采购订单
  17. */
  18. export function queryTHJPurchaseTradeDetail(params: HttpParams<{ req: Model.THJPurchaseTradeDetailReq, rsp: Model.THJPurchaseTradeDetailRsp[] }>) {
  19. return httpRequest('/Ferroalloy/QueryTHJPurchaseTradeDetail', 'get', params);
  20. }
  21. /**
  22. * 查询仓单持有记录
  23. */
  24. export function queryHoldLB(params: HttpParams<{ req: Model.HoldLBReq, rsp: Model.HoldLBRsp[] }>) {
  25. return httpRequest('/WrTrade2/QueryHoldLB', 'get', params);
  26. }
  27. /**
  28. * 查询提货申请
  29. */
  30. export function queryWrOutInApply(params: HttpParams<{ req: Model.WrOutInApplyReq, rsp: Model.WrOutInApplyRsp[] }>) {
  31. return httpRequest('/WrTrade2/QueryWrOutInApply', 'get', params);
  32. }
  33. /**
  34. * 查询我的推广-推广收益
  35. */
  36. export function queryTHJPromotionIncome(params: HttpParams<{ req: Model.THJPromotionIncomeReq, rsp: Model.THJPromotionIncomeRsp[] }>) {
  37. return httpRequest('/Ferroalloy/QueryTHJPromotionIncome', 'get', params);
  38. }
  39. /**
  40. * 查询我的推广-推广收益-明细
  41. */
  42. export function queryTHJPromotionIncomeDetail(params: HttpParams<{ req: Model.THJPromotionIncomeDetailReq, rsp: Model.THJPromotionIncomeDetailRsp[] }>) {
  43. return httpRequest('/Ferroalloy/QueryTHJPromotionIncomeDetail', 'get', params);
  44. }
  45. /**
  46. * 查询我的订单-转让/受让订单
  47. */
  48. export function queryTHJPurchaseTransferOrder(params: HttpParams<{ req: Model.THJPurchaseTransferOrderReq, rsp: Model.THJPurchaseTransferOrderRsp[] }>) {
  49. return httpRequest('/Ferroalloy/QueryTHJPurchaseTransferOrder', 'get', params);
  50. }
  51. /**
  52. * 查询我的订单-转让/受让订单-详情
  53. */
  54. export function queryTHJPurchaseTransferOrderDetail(params: HttpParams<{ req: Model.THJPurchaseTransferOrderDetailReq, rsp: Model.THJPurchaseTransferOrderDetailRsp[] }>) {
  55. return httpRequest('/Ferroalloy/QueryTHJPurchaseTransferOrderDetail', 'get', params);
  56. }