team.js 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import request from '@/common/util/request'
  2. export const UploadImg = data => request.post('/wechat/UploadImg', data) // 上传serverId(解决安卓不能多选图片问题)
  3. export const _API_TeamChart = data => request.get('/app/chart?type=1', data) // 获取 订单管理 图表数据接口
  4. export const _API_TeamPerData = data => request.get('/team/card_data', data) // 获取 个人名片数据
  5. export const _API_TeamList_Direct = data => request.get('/team/list?type=0', data) // 获取 => 团队管理 => 直属代理列表
  6. export const _API_TeamList_Down = data => request.get('/team/list?type=1', data) // 获取 => 团队管理 => 下级代理列表
  7. export const _API_TeamList_Grouping = data => request.get('/team/GetUserTeamList', data) //获取团队分组信息
  8. export const _API_TeamList_GTeamLevelDetail = data => request.get('/team/GetUserTeamLevelDetail', data) //获取每一组的人
  9. export const _API_GetNewUserDetail = data => request.get('/team/GetNewUserDetail', data) //获取新增的人
  10. export const _API_GetTeamList = data => request.get('/team/GetTeamList', data) //获取团队信息
  11. export const _API_TeamNewList_Day = data => request.get('/team/add_list?type=0', data) // 获取 => 团队新增 => 今日新增
  12. export const _API_TeamNewList_Month = data => request.get('/team/add_list?type=1', data) // 获取 => 团队新增 => 本月新增
  13. export const _API_TeamAchievement = data => request.get('/team/money', data) // 获取团队成员业绩
  14. export const _API_TeamInviteActive = data => request.get('/team/invite?type=0', data) // 获取 => 我的邀请 => 已激活
  15. export const _API_TeamInviteNoActive = data => request.get('/team/invite?type=1', data) // 获取 => 我的邀请 => 未激活
  16. export const _API_ExamineList_Invite = data => request.get('/team/examine_list?type=0', data) // 获取 => 注册审核 => 我的邀请
  17. export const _API_ExamineList_Down = data => request.get('/team/examine_list?type=1', data) // 获取 => 注册审核 => 我的下级
  18. export const _API_ExamineList_Wait = data => request.get('/team/examine_list?type=2', data) // 获取 => 注册审核 => 待审核
  19. // export const _API_Examine = data => request.get('/team/examine', data) // 审核 通过/驳回
  20. export const _API_Examine = data => request.post('/team/examine', data) // 审核 通过/驳回
  21. export const _API_InviteCode = data => request.get('/team/invite_code', data) // 获取邀请码
  22. export const _API_SearchUserDetail = data => request.get('/team/SearchUserTeamLevelDetail', data) //团队查询
  23. export const _API_StoreNoOpen = data => request.get('/team/StoreNoOpen', data) //微店未开通
  24. export const _API_GetApplyList = data => request.get('/apply/GetApplyList', data) //获取申请列表
  25. export const _API_GetApply = data => request.post('/apply/Apply', data) //发起申请
  26. export const _API_UploadApplyImg = data => request.post('/apply/UploadApplyImg', data) //上传图片
  27. export const _API_CancleApply = data => request.get('/apply/CancleApply', data) //取消申请
  28. export const _API_GetLevelUpList = data => request.get('/team/GetLevelUpList', data) //代理公司新增列表
  29. export const _API_GetLevelUp = data => request.get('/team/GetLevelUp', data) //代理公司新增
  30. export const _API_GetUserTeamListNum = data => request.get('/team/GetUserTeamListNum', data) //团队管理上部分信息