withdrawal.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 withdrawalGetById2(data) {
  21. return request({
  22. url: '/withdrawal/getById2',
  23. method: 'post',
  24. data
  25. })
  26. }
  27. // 查询惠市宝订单的分账信息
  28. export function getWithdrawalHsbOrderDistribution(params) {
  29. return request({
  30. url: '/withdrawal/getHsbOrderDistribution',
  31. method: 'get',
  32. params
  33. })
  34. }
  35. // 针对惠市宝订单的结算尝试确认收货
  36. export function updateWithdrawalTryConfirmSn(params) {
  37. return request({
  38. url: '/withdrawal/tryConfirmHsbOrderBySettlementSn',
  39. method: 'get',
  40. params
  41. })
  42. }
  43. // 提现申请处理
  44. export function withdrawalHandle(data) {
  45. return request({
  46. url: '/withdrawal/handle',
  47. method: 'post',
  48. data
  49. })
  50. }
  51. // 支付流水号查询
  52. export function getPaymentNumber(data) {
  53. return request({
  54. url: '/logs/getAll',
  55. method: 'post',
  56. data
  57. })
  58. }
  59. // 商家提现处理通联查询
  60. export function updateWithdrawalByAllinpay(data) {
  61. return request({
  62. url: '/withdrawal/getByAllinpay',
  63. method: 'post',
  64. data
  65. })
  66. }
  67. // 查看订单分佣列表
  68. export function getWithdrawalCommissionList(data) {
  69. return request({
  70. url: '/withdrawal/commissionList',
  71. method: 'post',
  72. data
  73. })
  74. }
  75. // 获取提现的账户信息
  76. export function getWithdrawalAccount(params) {
  77. return request({
  78. url: '/idcard/listByShopIds',
  79. method: 'get',
  80. params
  81. })
  82. }