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.
39 lines
918 B
39 lines
918 B
import request from "@/util/axios"; |
|
|
|
// 获取天气 |
|
export const queryWeath = () => |
|
request({ |
|
url: "/weather/v1/?district_id=370600&data_type=all&ak=YtoEHZgdNk1iyWzsU8Hj11YChF2fbaDD", |
|
method: "get", |
|
}); |
|
|
|
// 获取车牌号 |
|
export const getCarNum = () => |
|
request({ |
|
url: "/api/blade-business/common-api/get-car-no", |
|
method: "get", |
|
}); |
|
|
|
// 获取车速 |
|
export const getCarSpeed = (query) => |
|
request({ |
|
url: "/api/blade-business/common-api/get-car-speed", |
|
method: "get", |
|
params: query, |
|
}); |
|
|
|
// 获取早晚高峰 |
|
export const getPeak = () => |
|
request({ |
|
// url: "/api/blade-business/common-api/get-rush-hour", |
|
url: "/api/blade-business/poc_morning_evening/get-list-all", |
|
method: "get", |
|
}); |
|
|
|
// 获取车站及相关信息 |
|
export const getSiteInfo = (query) => |
|
request({ |
|
url: "/api/blade-business/common-api/get-site", |
|
method: "get", |
|
params: query, |
|
});
|
|
|