|
@@ -70,7 +70,9 @@ export function currentUnlicensedPlate() {
|
|
|
}
|
|
|
*/
|
|
|
export function unlicensedCarCheckIn(params) {
|
|
|
- return window.requestms.post(`/parking/unlicensed-car-check-in`, params, { loading: true });
|
|
|
+ return window.requestms.post(`/parking/unlicensed-car-check-in`, params, { loading: true, 'Parking-User': {
|
|
|
+ buildingId: params.buildingId
|
|
|
+ }});
|
|
|
}
|
|
|
export function unlicensedCarGetVehicle(qrcode) {
|
|
|
return window.requestms.get(`/parking/unlicensed-car-get-vehicle-no?qrCodeId=${qrcode}`, { loading: true });
|
|
@@ -147,8 +149,11 @@ export function invoiceEmails() {
|
|
|
* @param params.vehicleNo string 临牌
|
|
|
* @returns {*}
|
|
|
*/
|
|
|
-export function unlicensedCarCheckout(vehicleNo, unlicensed, gateId) {
|
|
|
- return window.requestms.post(`/parking/unlicensed-car-checkout`, { vehicleNo, gateId }, { loading: false, timeout: 10000 });
|
|
|
+export function unlicensedCarCheckout(vehicleNo, unlicensed, gateId, buildingId) {
|
|
|
+ return window.requestms.post(
|
|
|
+ `/parking/unlicensed-car-checkout`,
|
|
|
+ { vehicleNo, gateId },
|
|
|
+ { loading: false, timeout: 10000, 'Parking-User': { buildingId } });
|
|
|
}
|
|
|
// 1.25 车场二维码信息查询(通过CodeID)
|
|
|
/**
|