index.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. import aop from 'submodule/utils/aop/webapi'
  2. export default {
  3. batch_truck: {
  4. realUrl: 'account/account_balance/batch_truck'
  5. },
  6. transfer_carrier: {
  7. realUrl: 'account/account_balance/transfer_carrier'
  8. },
  9. /** 运营策略中心 */
  10. strategy: {
  11. /** 运营平台新增车辆 */
  12. add_carnumber_oppc: {
  13. realUrl: '/strategy/truck/add_carnumber_oppc'
  14. },
  15. /** 通过userid获取绑定车辆列表 */
  16. find_binding_truck: {
  17. realUrl: 'strategy/truck/find_binding_truck'
  18. }
  19. },
  20. /** 账户中心 */
  21. account: {
  22. /** 获取长城奥扬提现账户列表 */
  23. list_gway: {
  24. realUrl: 'account/org_account/list_gway'
  25. },
  26. /** 分页查询公对公流水导出 */
  27. carreir_p2p_log_download: {
  28. realUrl: 'account/carreir_p2p_log/download',
  29. responseType: 'blob'
  30. }
  31. },
  32. /** 用户中心 */
  33. user: {
  34. /** 变更其他付款启用状态 */
  35. change_otherpay: {
  36. realUrl: 'user/carrier_account/change_otherpay'
  37. },
  38. /** 修改物流管理者账号 */
  39. edit_carrier: {
  40. realUrl: 'user/user/edit_carrier'
  41. },
  42. /** 重置密码 */
  43. reset_password: {
  44. realUrl: 'user/user/reset_password'
  45. },
  46. /** 解绑驾驶员 */
  47. truck_driver_remove: {
  48. realUrl: 'user/truck_driver_remove/remove'
  49. },
  50. /** 添加物流管理者 */
  51. add_carrier: {
  52. realUrl: 'user/user/add_carrier'
  53. },
  54. /** 添加物流驾驶员 */
  55. add_driver: {
  56. realUrl: 'user/user/add_driver'
  57. },
  58. /** 运营平台-修改组织状态 */
  59. edit_status: {
  60. realUrl: 'user/org/edit_status'
  61. },
  62. /** 物流公司合同签约 */
  63. carrier_contract: {
  64. realUrl: 'user/org/carrier_contract'
  65. },
  66. /** 物流管理者刷新token(完成物流认证后,需要刷新增加org信息) */
  67. refresh_carrier_token: {
  68. realUrl: 'user/oauth/refresh_carrier_token'
  69. },
  70. /** 新增驾驶员 */
  71. add_drivers: {
  72. realUrl: 'user/driver_white_list/add_drivers'
  73. },
  74. /** 导入用户 */
  75. import_user: {
  76. realUrl: 'user/import/import_user'
  77. },
  78. /** 获取物流公司的所有信息(包含基本信息,认证信息,授权信息等) */
  79. get_carrier_info: {
  80. realUrl: 'user/org/get_carrier_info',
  81. AOP: {
  82. AR: [aop.AR.storeRes]
  83. }
  84. },
  85. /** 道路运输许可证发起认证 */
  86. road_transport_up: {
  87. realUrl: 'user/org_pic/road_transport_up'
  88. },
  89. /** 物流开票补充信息保存 */
  90. carrier_fp_save: {
  91. realUrl: 'user/org/carrier_fp_save'
  92. },
  93. /** 根据关键字获取银行列表 */
  94. list_by_keywords: {
  95. realUrl: 'user/bank/list_by_keywords'
  96. },
  97. /** 道路运输许可证运营审核 */
  98. road_transport_audit: {
  99. realUrl: 'user/org_pic/road_transport_audit'
  100. }
  101. },
  102. /** 消息中心 */
  103. message: {
  104. /** OCR识别信息 */
  105. orc: {
  106. realUrl: 'message/ocr/orc'
  107. }
  108. },
  109. /** 支付中心 */
  110. pay: {
  111. /** 提现协议查询 */
  112. query_withdraw_protocol: {
  113. realUrl: 'pay/member/query_withdraw_protocol'
  114. },
  115. /** 物流认证通联(会员创建+开户认证+营业执照和法人身份证上传) */
  116. carrier_open_account: {
  117. realUrl: 'pay/member/carrier_open_account'
  118. },
  119. /** 转账授权 */
  120. sign_balance_protocol: {
  121. realUrl: 'pay/member/sign_balance_protocol'
  122. },
  123. /** 提现授权 */
  124. sign_withdraw_protocol: {
  125. realUrl: 'pay/member/sign_withdraw_protocol'
  126. },
  127. /** 企业绑定对公户 */
  128. bind_bank: {
  129. realUrl: '/pay/member/bind_bank'
  130. }
  131. }
  132. }