Browse Source

fix: 🧩 修改停车接口

pull/17/head
liyongle 3 years ago
parent
commit
05fd8ee4a1
  1. 2
      src/http/api/parking/index.ts

2
src/http/api/parking/index.ts

@ -3,7 +3,7 @@ import { getPrefixUrl } from '../../http'
import { PREFIX } from '@/enums' import { PREFIX } from '@/enums'
//找车 //找车
export const getFindCar = (license: string) => export const getFindCar = (license: string) =>
request<CarInfo>({ url: `${getPrefixUrl().interfaceUrl}/guide/v1/web/thirdParkRevision?plateId=${license}` })
request<CarInfo>({ url: `${getPrefixUrl().interfaceUrl}/guidance/v1/web/thirdParkRevision?plateId=${license}` })
// 获取停车场信息 // 获取停车场信息
export const getParkInfo = () => request<ParkingInfo[]>({ url: `${PREFIX.STATIC_URL}/JSON/getParkInfo.json` }) export const getParkInfo = () => request<ParkingInfo[]>({ url: `${PREFIX.STATIC_URL}/JSON/getParkInfo.json` })

Loading…
Cancel
Save