index.js 3.8 KB

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