sale.js 863 B

12345678910111213141516171819202122
  1. import {
  2. request
  3. } from "../utils/request";
  4. module.exports = {
  5. // 注册分销员
  6. registerSale: data => request('/v3/sale/user', 'post', data),
  7. // 获取分销金额统计数据
  8. getSaleData: data => request('/v3/sale/user/info', 'get', data),
  9. // 获取分销规则
  10. getSaleRule: data => request('/v3/sale/level', 'get', data),
  11. // 获取分销邀请用户列表
  12. getSaleInvite: data => request('/v3/sale/user/inviteList', 'get', data),
  13. // 获取分销订单列表
  14. getSaleOrder: data => request('/v3/sale/order', 'get', data),
  15. // 获取收益明细列表
  16. getIncomeList: data => request('/v3/sale/income/list', 'get', data),
  17. // 提现
  18. cashOut: data => request('/v3/sale/income/cash', 'get', data),
  19. // 获取分销推广文案
  20. getPromotionText: data => request('/v3/sale/copywriting', 'get', data),
  21. }