apiurl.js 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. export const apiurl = {
  2. //反馈
  3. feedbackAddUrl: '/client/articleFeedback/add',
  4. // 获取微信用户信息
  5. getuseinfourl: '/client/wechat/h5/user',
  6. // 公众号支付
  7. payurl: '/client/app/pay',
  8. // 创建订单
  9. createOrderurl: '/client/order/createOrder',
  10. // 退款(路段退款)
  11. refundurl: '/client/app/order/refund',
  12. // 绑定手机号
  13. bindphoneurl: '/client/app/order/refund2',
  14. // 手机登录验证码
  15. phoneLoginCodeUrl: '/client/auth/sendSmsCode',
  16. // 手机登录验证码验证
  17. phoneLoginAuthUrl: '/client/auth/verifyCode',
  18. // code换取微信信息
  19. getWXInfoUrl: '/client/wechat/h5/code/',
  20. // code换取微信信息(不包括用户名和头像)
  21. getWxOpenidUrl: '/client/wechat/h5/code/noUser/',
  22. // 微信支付 在pay.js中使用
  23. wxPayUrl: '/client/wechat/pay',
  24. // 客户端首页
  25. getIndexDataUrl: '/client/index',
  26. //获取路段信息
  27. roadInfoById: '/client/roadinfo/selectById/',
  28. // 用户车辆
  29. mycarsUrl: '/client/membervehicle',
  30. // 设置为默认车辆
  31. setDefaultCarUrl: '/client/membervehicle/modifyDefault/',
  32. //室内停车订单列表
  33. getRoomparkingList: '/client/parking-orderinfo/pageList',
  34. // 获取订单列表
  35. getOrderListUrl: '/client/orderinfo',
  36. // 获取支付订单详情
  37. getOrderinfoUrl: '/client/orderinfo/paydetail/',
  38. // 获取订单详情
  39. getOrderDetailUrl: '/client/orderinfo/detail/',
  40. getRoomOrderDetailUrl: '/client/parking-orderinfo/detail/',
  41. //获取信息列表
  42. getMessageListUrl: '/client/membernews',
  43. //消息已读接口
  44. messageReadUrl: '/client/membernews/read/',
  45. // 获取附近的路段
  46. nearRoadslUrl: '/client/roadinfo/nearRoads',
  47. // 获取路段收费规则
  48. roadsChargeRuleUrl: '/client/roadinfo/feeRule/',
  49. // 获取附近的停车场
  50. nearParkingLotUrl: '/client/parkingInfo/pageList',
  51. // 获取停车场收费规则
  52. parkingLotChargeRuleUrl: '/client/parkingInfo/feeRule/',
  53. //包月信息
  54. monthInfoUrl: '/client/memberinfo/monthInfo',
  55. //创建包月
  56. createMonthUrl: '/client/memberinfo/createMonth',
  57. //包月支付
  58. monthPayUrl: '/client/monthpay/gzbank/quick',
  59. //包月支付查询
  60. getMonthPayUrl: '/client/monthpay/query/',
  61. //包月列表
  62. getMonthListUrl: '/client/memberinfo/monthList',
  63. // 停车场包月列表
  64. getParkMonthListUrl: '/client/memberinfo/monthList',
  65. //取消包月订单
  66. cancelMonthUrl: '/client/memberinfo/cancelMonth/',
  67. //启动无感支付
  68. feePayUrl: '/client/membervehicle/enable/feepay/',
  69. //贵州银行快捷支付
  70. payGzbankUrl: '/client/pay/gzbank/quick',
  71. // 贵州银行支付
  72. gzbankurl: '/client/gzbank/paygate',
  73. // 订单查询
  74. getOrderInfoApi: '/client/pay/query/',
  75. // 查询设备状态
  76. getEqupmentStatusApi: '/client/hardware/deviceInfo/',
  77. // 订单退款(路段)
  78. updateOrderRefundApi: '/client/orderinfo/refundApply',
  79. // 订单退款(停车场)
  80. updateParkOrderRefundApi: '/client/orderinfo/refundApply',
  81. // 获取退款详情
  82. getOrderRefundDetailsApi: '/client/orderinfo/refund/detail/',
  83. // 普通微信支付
  84. ordinaryWxPayApi: '/client/pay/gzbank/poly',
  85. // 包月微信支付
  86. monthlyWxPayApi: '/client/monthpay/gzbank/poly',
  87. // 获取条款须知
  88. getSystermsApi: '/client/systerms/getByType/',
  89. //车位锁新增车牌信息
  90. bindVehicleNoApi: '/client/orderinfo/bindVehicleNo',
  91. // 第二版本验证码
  92. codeV2Url: {
  93. // 发送验证码V2
  94. sendSmsCodeV2Url: '/client/auth/sendSmsCodeV2',
  95. // 验证短信验证码V2
  96. verifyCodeV2Url: '/client/auth/verifyCodeV2',
  97. // 登出
  98. logoutUrl: '/client/auth/loginout'
  99. },
  100. // 用户登录区分手机号和微信openid登录
  101. userLoginUrl: {
  102. // openid登录
  103. openidLoginUrl: '/client/auth/loginToWxOpenId',
  104. // 发送验证码
  105. sendSmsCodeUrl: '/client/auth/sendSmsCodeV3',
  106. // 手机号登录
  107. mobileLoginUrl: '/client/auth/loginToMobile'
  108. },
  109. // 地磁获取小票详情
  110. geomaLockDetailsUrl: '/client/orderinfo/detailByQrcode',
  111. //入场扫码信息
  112. getDetailEntrance: '/client/parking-orderinfo/detail/entrance',
  113. //场内码扫码信息
  114. getDetailAdvance: '/client/parking-orderinfo/detail/advance',
  115. //出场码扫码信息
  116. getDetailExport: '/client/parking-orderinfo/detail/export',
  117. //无牌入场
  118. entranceByNoVehicle: '/client/parking-orderinfo/entrance/noVehicleNo',
  119. //场内车牌查询订单信息
  120. getAdvanceInfo: '/client/parking-orderinfo/advance/info-by-vehicle',
  121. //出场页面信息
  122. getExportInfo: '/client/parking-orderinfo/export/info',
  123. // 出场支付状态查询
  124. getOrderStateExportUrl: '/client/payment/parking/query',
  125. // 出场快捷支付
  126. quickPayExportUrl: '/client/payment/parking/gzbank/quick',
  127. // 出场聚合支付
  128. polyPayExportUrl: '/client/payment/parking/gzbank/poly',
  129. // 获取数据字典接口
  130. getDictUrl: '/admin/dict/data/type/',
  131. // 微信支付
  132. wechatPayUrl: '/client/pay/wechat',
  133. // 停车场微信支付
  134. parkingWechatPayUrl: '/client/payment/parking/wechat',
  135. // 获取参数
  136. getParamsUrl: '/admin/config/configKey/',
  137. // 微信包月支付
  138. wechatMonthlyPayUrl: '/client/monthpay/wechat',
  139. // 包月规则详情
  140. monthlyRuleDetailsUrl: '/admin/feemonthrule',
  141. // 查询优惠券列表
  142. couponListUrl: '/client/couponInfo/couponList',
  143. // 兑换优惠券
  144. exchangeCouponUrl: '/client/couponInfo/couponExchange',
  145. // 根据订单号刷新优惠券状态(用于取消支付情况)
  146. updateCouponStatusUrl: '/client/couponInfo/backCoupon',
  147. // 根据订单id获取符合要求的优惠券
  148. getCouponByOrderIdUrl: '/client/couponInfo/memberCoupon',
  149. // 根据室内停车场二维码查询车辆列表信息
  150. getVehicleInquiryListUrl: '/client/parking-orderinfo/detail/advance',
  151. // 根据停车场编号和车牌查询订单
  152. getOrderInfoByParknoUrl: '/client/parking-orderinfo/advance/getOrderInfo',
  153. // 停车场支付
  154. indoorPaymentUrl: '/client/payment/parking/gotoPay',
  155. // 广告模块
  156. adBannerModule: {
  157. // 获取广告列表
  158. getAdBannerListUrl: '/admin/advertInfo',
  159. // 获取广告详情
  160. getAdBannerDetailsUrl: '/admin/advertInfo/detail'
  161. },
  162. // 发票模块
  163. invoiceModule: {
  164. // 获取符合发票订单
  165. getInvoiceOrderListUrl: '/client/orderInvo/order/list',
  166. // 获取发票列表
  167. getInvoiceListUrl: '/client/orderInvo/list',
  168. // 新增发票
  169. addInvoiceUrl: '/client/orderInvo',
  170. // 修改发票
  171. updateInvoiceUrl: '/',
  172. // 删除发票
  173. deleteInvoiceUrl: '/',
  174. // 获取发票详情
  175. getInvoiceDetailsUrl: '/client/orderInvo/',
  176. // 获取发票开头列表
  177. getInvoiceHeadListUrl: '/client/orderInvoHead/list',
  178. // 获取发票开头下拉
  179. getInvoiceHeadSelectUrl: '/client/orderInvoHead/select',
  180. // 获取发票开头详情
  181. getInvoiceHeadDetailsUrl: '/client/orderInvoHead/',
  182. // 新增发票开头
  183. addInvoiceHeaderUrl: '/client/orderInvoHead',
  184. // 修改发票开头
  185. updateInvoiceHeaderUrl: '/client/orderInvoHead',
  186. // 删除发票开头
  187. deleteInvoiceHeaderUrl: '/client/orderInvoHead/',
  188. }
  189. };