bundel.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import request from './request';
  2. // request() 第二个参数若为true则表示不传token
  3. // 客户套餐列表
  4. export const getCustomerBundle = params => {
  5. return request({
  6. url: `customerBundle/queryPage/${params.pageNo}/${params.pageSize}`,
  7. method: 'post',
  8. data: params
  9. })
  10. }
  11. // 套餐明细
  12. export const getCustomerBundleDetail = params => {
  13. return request({
  14. url: `customerBundle/detail/queryPage/${params.pageNo}/${params.pageSize}`,
  15. method: 'post',
  16. data: params
  17. })
  18. }
  19. // 使用记录
  20. export const getCustomerUseHistory = params => {
  21. return request({
  22. url: `customerBundle/useHistory/${params.pageNo}/${params.pageSize}`,
  23. method: 'post',
  24. data: params
  25. })
  26. }
  27. // 诊断报告
  28. export const checkBillQueryList = params => {
  29. return request({
  30. url: `checkBill/queryPage/${params.pageNo}/${params.pageSize}`,
  31. method: 'post',
  32. data: params
  33. })
  34. }
  35. // 诊断报告接口
  36. export const checkApiQueryList = params => {
  37. return request({
  38. url: `api/checkBill/queryPage/${params.pageNo}/${params.pageSize}`,
  39. method: 'post',
  40. data: {merchantCustomerId: params.merchantCustomerId}
  41. })
  42. }