index.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. /** *
  3. * 客户列表 b
  4. */
  5. export const getList = data => {
  6. return https.get("/custom/list", data);
  7. };
  8. /** *
  9. * 商家端客户详情,包括资产、订单和备注
  10. */
  11. export const getUserDet = data => {
  12. return https.get("/custom/detail", data);
  13. };
  14. /** *
  15. * 获取客户详情,包括资产 b
  16. */
  17. export const getDet = data => {
  18. return https.get("/user/detail", data);
  19. };
  20. /** *
  21. * 添加客户 b
  22. */
  23. export const add = data => {
  24. return https.post("/custom/add", data);
  25. };
  26. // 延期付
  27. export const debt = data => {
  28. return https.get("/custom/debt", data);
  29. };
  30. /** *
  31. * 给客户充值 b
  32. */
  33. // export const rechargeB = data => {
  34. // return https.post('/user/recharge', data)
  35. // }
  36. /** *
  37. * 给客户升级 b
  38. */
  39. // export const upgrade = data => {
  40. // return https.post('/user/upgrade', data)
  41. // }
  42. /** *
  43. * 添加备注 b
  44. */
  45. // export const remarkAdd = data => {
  46. // return https.post('/merchant-remark/add', data)
  47. // }
  48. /** *
  49. * 删除备注 b
  50. */
  51. // export const remarkDel = data => {
  52. // return https.get('/merchant-remark/delete', data)
  53. // }
  54. /** *
  55. * 客户充值 b
  56. */
  57. // export const recharge = data => {
  58. // return https.get('/recharge/launch', data)
  59. // }
  60. /** *
  61. * 重置密码 b
  62. */
  63. // export const resetPassword = data => {
  64. // return https.post('/user/reset-pay-password', data)
  65. // }