index.ts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import httpClient from '@/services/http'
  2. import { CommonFetchOptions } from '@/services/http/types'
  3. /**
  4. * 市场运行管理-->监控管理-->在线用户查询-->获取列表
  5. */
  6. export function marketRunUserLogin(options: CommonFetchOptions<{ request: Model.MarketRunUserLoginReq; response: Model.MarketRunUserLoginRsp; }>) {
  7. return httpClient.commonRequest('/marketRun/queryUserLogin', 'get', options)
  8. }
  9. /**
  10. * 市场运行管理-->监控管理-->在线用户查询-->强制下线
  11. */
  12. export function marketRunDownonline(options: CommonFetchOptions<{ request: Model.MarketRunDownonlineReq; }> = {}) {
  13. return httpClient.commonRequest('/marketRun/downonline', 'get', options)
  14. }
  15. /**
  16. * 市场运行管理-->监控管理-->斩仓监控-->获取列表
  17. */
  18. export function marketRunCutposition(options: CommonFetchOptions<{ request: Model.MarketRunCutpositionReq; response: Model.MarketRunCutpositionRsp[]; }> = {}) {
  19. return httpClient.commonRequest('/marketRun/cutposition', 'get', options)
  20. }
  21. /**
  22. * 市场运行管理-->监控管理-->账户风险监控-->获取列表
  23. */
  24. export function marketRunInvestor(options: CommonFetchOptions<{ request: Model.MarketRunInvestorReq; response: Model.MarketRunInvestorRsp[]; }> = {}) {
  25. return httpClient.commonRequest('/marketRun/investor', 'get', options)
  26. }
  27. /**
  28. * 市场运行管理-->监控管理-->账户风险监控-->初始化参数信息
  29. */
  30. export function marketRunInitInvestor(options: CommonFetchOptions<{ response: Model.MarketRunInitInvestorRsp; }> = {}) {
  31. return httpClient.commonRequest('/marketRun/initInvestor', 'get', options)
  32. }