You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.3 KiB

"use strict";const r=require("../../request/index.js"),t={searchCart:e=>r.request({url:`/share/vehicle/appointment/{${e}}`,method:"GET"}),queryLastOrder:()=>r.request({url:"/share/ride-order/queryLastOrder",method:"GET"}),ingRide:e=>r.request({url:`share/ride-order/ingRide/${e}`,method:"GET"}),nearByVehicles:e=>r.request({url:"/share/vehicle/nearByVehicles",method:"POST",data:e}),spupage:e=>r.request({url:"/product/spu/page",method:"GET",data:e}),appointment:e=>r.request({url:`/share/vehicle/appointment/${e}`,method:"GET"}),ride_order_add:e=>r.request({url:"/share/ride-order/add",method:"POST",data:e}),startRide:e=>r.request({url:`share/ride-order/startRide/${e}`,method:"GET"}),operate_scope:e=>r.request({url:`share/operate-scope/operate-scope/count?longitude=${e.log}&latitude=${e.lng}`,method:"GET"}),finishRide:e=>r.request({url:`share/ride-order/finishRide/${e}`,method:"GET"}),business_pay:e=>r.request({url:"share/ride-order/business/pay",method:"POST",data:e}),riding_billing:()=>r.request({url:"share/riding-billing/get",method:"GET"}),order_create:e=>r.request({url:"trade/order/create",method:"POST",data:e}),spu_get_detail:e=>r.request({url:`product/spu/get-detail?id=${e}`,method:"GET"}),cancelRide:e=>r.request({url:`share/ride-order/cancelRide/${e}`,method:"GET"})};exports.mapnvueApi=t;