agencyCenter.js 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // 新增代理申请
  2. export const agentApplyAdd_Api = (data) => uni.$uv.http.post(`/agent/agentApply/add`, data);
  3. // 修改代理申请
  4. export const agentApplyEdit_Api = (data) => uni.$uv.http.post(`/agent/agentApply/edit`, data);
  5. // 获取代理申请详细信息
  6. export const agentApplyInfo_Api = (params) => uni.$uv.http.get(`/agent/agentApply/info`, { params });
  7. // 获取代理申请详细信息
  8. export const agentApplyInfoId_Api = (agentApplyId) => uni.$uv.http.get(`/agent/agentApply/info/${agentApplyId}`, {});
  9. // 邀请码查省级代理
  10. export const agentProvinceAgent_Api = (inviteCode) => uni.$uv.http.get(`/agent/agent/provinceAgent/${inviteCode}`, {});
  11. // 查询代理账户码申请列表
  12. export const agentAccountCodeApplyPage_Api = (params) => uni.$uv.http.get(`/agent/agentAccountCodeApply/page`, { params });
  13. // 新增代理账户码申请
  14. export const agentAccountCodeApplyAdd_Api = (data) => uni.$uv.http.post(`/agent/agentAccountCodeApply/add`, data);
  15. // 查询代理账户码申请列表
  16. export const agentAccountCodeApplyInfo_Api = (id) => uni.$uv.http.get(`/agent/agentAccountCodeApply/info/${id}`, {});
  17. // 获取代理详细信息
  18. export const agentInfo_Api = (params) => uni.$uv.http.get(`/agent/agent/info`, { params });
  19. // 代理收益
  20. export const agentAmount_Api = (params) => uni.$uv.http.get(`/agent/agent/amount`, { params });
  21. // 省级分页查询代理申请列表
  22. export const agentAgentApplyPage_Api = (params) => uni.$uv.http.get(`/agent/agentApply/page`, { params });
  23. // 审核代理申请
  24. export const agentAgentApplyAudit_Api = (data) => uni.$uv.http.post(`/agent/agentApply/audit`, data);
  25. // 查询代理账户码列表
  26. export const agentAccountCodePage_Api = (params) => uni.$uv.http.get(`/agent/agentAccountCode/page`, { params });
  27. // 查询代理下账户码申请列表
  28. export const agentAccountCodeApplyRegionPage_Api = (params) => uni.$uv.http.get(`/agent/agentAccountCodeApply/regionPage`, { params });
  29. // 统计状态数量
  30. export const agentAccountCodeCountStatus_Api = (params) => uni.$uv.http.get(`/agent/agentAccountCode/countStatus`, { params });
  31. // 审核代理申请
  32. export const agentAccountCodeUse_Api = (data) => uni.$uv.http.post(`/agent/agentAccountCode/use`, data);
  33. // 剩余多少账户码
  34. export const sumSurplusAccountCode_Api = (params) => uni.$uv.http.get(`/agent/agentAccountCode/sumSurplusAccountCode`, { params });
  35. // 审核代理账户码申请
  36. export const agentAccountCodeApplyAudit_Api = (data) => uni.$uv.http.post(`/agent/agentAccountCodeApply/audit`, data);
  37. // 分页获取代理商家
  38. export const agentBusinessPage_Api = (params) => uni.$uv.http.get(`/agent/agent/business/page`, { params });
  39. // 推广店铺收益统计
  40. export const agentBusinessStatistics_Api = (params) => uni.$uv.http.get(`/agent/agent/businessStatistics`, { params });
  41. // 分页查代理伙伴
  42. export const agentPartnerPage_Api = (params) => uni.$uv.http.get(`/agent/agent/partnerPage`, { params });
  43. // 分页查余额明细
  44. export const balanceRecordPage_Api = (params) => uni.$uv.http.get(`/agent/agent/balanceRecordPage`, { params });
  45. // 获取代理二维码
  46. export const agentGetQrCode_Api = (data) => uni.$uv.http.post(`/agent/agent/getQrCode`, data);
  47. // 合同预览
  48. export const agentGetContractPreview_Api = (data) => uni.$uv.http.post(`/agent/agentApply/contract/preview`, data);
  49. // 代理商获取提现金额
  50. export const agentWithdrawalAmount_Api = (params) => uni.$uv.http.get(`/agent/withdrawal/amount`, { params });
  51. // 代理商新增提现
  52. export const agentAddWithdrawal_Api = (data) => uni.$uv.http.post(`/agent/withdrawal/add`, data);
  53. // 代理商获取提现手续费
  54. export const agentWithdrawalFee_Api = (params) => uni.$uv.http.get(`/agent/withdrawal/fee`, { params });
  55. // 代理商获取提现记录
  56. export const agentWithdrawalPage_Api = (params) => uni.$uv.http.get(`/agent/withdrawal/page`, { params });
  57. // 代理商获取提现详细信息
  58. export const agentWithdrawalInfo_Api = (id) => uni.$uv.http.get(`/agent/withdrawal/info/${id}`, {})
  59. // 代理配置
  60. export const agentConfig_Api = (params) => uni.$uv.http.get(`/agent/agent/config`, { params });