2 lines
826 B
JavaScript
2 lines
826 B
JavaScript
var s=Object.defineProperty;var i=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;var n=(e,r,t)=>r in e?s(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,f=(e,r)=>{for(var t in r||(r={}))c.call(r,t)&&n(e,t,r[t]);if(i)for(var t of i(r))o.call(r,t)&&n(e,t,r[t]);return e};import{aq as a}from"./bootstrap-CRjSNGHY.js";function u(e){return a.get("/ops/traffic/realtime",{params:e?{date:e}:void 0})}function p(e){return a.get("/ops/traffic/trend",{params:e})}function l(e){return a.get("/ops/traffic/device/realtime",{params:{deviceId:e}})}function d(e,r){return a.get("/ops/traffic/area/realtime",{params:f({areaIds:e.join(",")},r?{date:r}:{})})}function T(e){return a.get("/ops/traffic/area/trend",{params:e})}export{u as a,p as b,d as c,T as d,l as g};
|