withdrawal.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import request from '@/utils/request'
  2. // ******商家列表******
  3. // 提现申请管理查询
  4. export function withdrawalGetAll(data) {
  5. return request({
  6. url: '/withdrawal/getAll',
  7. method: 'post',
  8. data
  9. })
  10. }
  11. // 提现申请查看
  12. export function withdrawalGetById(data) {
  13. return request({
  14. url: '/withdrawal/getById',
  15. method: 'post',
  16. data
  17. })
  18. }
  19. // 查询惠市宝订单的分账信息
  20. export function getWithdrawalHsbOrderDistribution(params) {
  21. return request({
  22. url: '/withdrawal/getHsbOrderDistribution',
  23. method: 'get',
  24. params
  25. })
  26. }
  27. // 针对惠市宝订单的结算尝试确认收货
  28. export function updateWithdrawalTryConfirmSn(params) {
  29. return request({
  30. url: '/withdrawal/tryConfirmHsbOrderBySettlementSn',
  31. method: 'get',
  32. params
  33. })
  34. }
  35. // 提现申请处理
  36. export function withdrawalHandle(data) {
  37. return request({
  38. url: '/withdrawal/handle',
  39. method: 'post',
  40. data
  41. })
  42. }
  43. // 支付流水号查询
  44. export function getPaymentNumber(data) {
  45. return request({
  46. url: '/logs/getAll',
  47. method: 'post',
  48. data
  49. })
  50. }
  51. // 商家提现处理通联查询
  52. export function updateWithdrawalByAllinpay(data) {
  53. return request({
  54. url: '/withdrawal/getByAllinpay',
  55. method: 'post',
  56. data
  57. })
  58. }
  59. // 查看订单分佣列表
  60. export function getWithdrawalCommissionList(data) {
  61. return request({
  62. url: '/withdrawal/commissionList',
  63. method: 'post',
  64. data
  65. })
  66. }