index.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. import httpClient from '@/services/http'
  2. import { CommonFetchOptions } from '@/services/http/types'
  3. /**
  4. * 资金账户管理查询
  5. */
  6. export function queryTaAccount(options: CommonFetchOptions<{ request: Model.TaAccountReq; response: Model.TaAccountRsp; }> = {}) {
  7. return httpClient.commonRequest('/taAccount/query', 'get', options)
  8. }
  9. /**
  10. * 资金账户详情信息
  11. */
  12. export function queryTaAccountDetail(options: CommonFetchOptions<{ request: Model.TaAccountDetailReq; response: Model.TaAccountDetailRsp; }> = {}) {
  13. return httpClient.commonRequest('/taAccount/queryDetail', 'get', options)
  14. }
  15. /**
  16. * 资金账户修改密码
  17. */
  18. export function updateTaAccountPwd(options: CommonFetchOptions<{ request: Model.TaAccountPwdReq; }> = {}) {
  19. return httpClient.commonRequest('/taAccount/updatePwd', 'post', options)
  20. }
  21. /**
  22. * 资金流水信息列表查询
  23. */
  24. export function queryAmountStream(options: CommonFetchOptions<{ request: Model.AmountStreamReq; response: Model.AmountStreamRsp[]; }>) {
  25. return httpClient.commonRequest('/taAccount/queryAmountStream', 'get', options)
  26. }
  27. /**
  28. * 资金流水信息导出
  29. */
  30. export function queryAmountStreamExport(options: CommonFetchOptions<{ response: string; }>) {
  31. return httpClient.commonRequest('/taAccount/queryAmountStreamExport', 'get', options)
  32. }
  33. /**
  34. * 出入金查询
  35. */
  36. export function queryPutOrIn(options: CommonFetchOptions<{ request: Model.PutOrInReq; response: Model.PutOrInRsp[]; }>) {
  37. return httpClient.commonRequest('/accountSign/queryPutOrIn', 'get', options)
  38. }
  39. /**
  40. * 出入金查询详情
  41. */
  42. export function queryPutOrInDetail(options: CommonFetchOptions<{ request: Model.PutOrInDetailReq; response: Model.PutOrInDetailRsp[]; }>) {
  43. return httpClient.commonRequest('/accountSign/queryPutOrInDetail', 'get', options)
  44. }
  45. /**
  46. * 处理银行签约
  47. */
  48. export function dealAccountSign(options: CommonFetchOptions<{ request: Partial<Model.DealAccountSignReq>; }>) {
  49. return httpClient.commonRequest('/accountSign/dealAccountSign', 'post', options)
  50. }
  51. /**
  52. * 获取签约银行详细信息
  53. */
  54. export function getSignBankById(options: CommonFetchOptions<{ request: Model.SignBankByIdReq; response: Model.SignBankByIdRsp; }>) {
  55. return httpClient.commonRequest('/accountSign/getSignBankById', 'get', options)
  56. }
  57. /**
  58. * 银行签约信息/签解约管理列表
  59. */
  60. export function queryAccountSign(options: CommonFetchOptions<{ request: Model.AccountSignReq; response: Model.AccountSignRsp[]; }>) {
  61. return httpClient.commonRequest('/accountSign/query', 'get', options)
  62. }
  63. /**
  64. * 通用枚举判断信息展示查询
  65. */
  66. export function queryCommonFlag(options: CommonFetchOptions<{ request: Model.CommonFlagReq; response: Model.CommonFlagRsp; }>) {
  67. return httpClient.commonRequest('/common/queryCommonFlag', 'get', options)
  68. }
  69. /**
  70. * 网上出入金申请
  71. */
  72. export function inOrOutAmount(options: CommonFetchOptions<{ request: Model.inOrOutAmountReq; }>) {
  73. return httpClient.commonRequest('/taAccount/inOrOutAmount', 'post', options)
  74. }
  75. /**
  76. * 内部订单查询--> 电子协议管理 --> 获取列表
  77. */
  78. export function queryesignrecord(options: CommonFetchOptions<{ request: Model.SignRecordReq; response: Model.SignRecordRsp[] }>) {
  79. return httpClient.commonRequest('/query/queryesignrecord', 'get', options)
  80. }