2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
var o=Object.defineProperty;var n=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var s=(e,r,a)=>r in e?o(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,i=(e,r)=>{for(var a in r||(r={}))u.call(r,a)&&s(e,a,r[a]);if(n)for(var a of n(r))c.call(r,a)&&s(e,a,r[a]);return e};import{cK as t}from"./index.e8334860.js";function l(e,r="none"){return t.get({url:"/api/devices",params:e},{errorMessageMode:r})}function p(e="none"){return t.get({url:"/api/device-types"},{errorMessageMode:e})}function M(e,r="none"){return t.get({url:"/api/keywords",params:e},{errorMessageMode:r})}function f(e,r="none"){return t.post({url:"/api/devices",data:e},{errorMessageMode:r})}function v(e,r,a="none"){return t.put({url:`/api/devices/${e}`,data:r},{errorMessageMode:a})}function y(e,r="none"){return t.delete({url:`/api/devices/${e}`},{errorMessageMode:r})}function m(e="none"){return t.get({url:"/api/keywords-industry"},{errorMessageMode:e})}function h(e={parent_id:0,type:2},r="none"){return t.get({url:"/api/agricultural-basic",params:e},{errorMessageMode:r})}function D(e="none"){return t.get({url:"/api/citydata-statistics"},{errorMessageMode:e})}function S(e,r="none"){return t.get({url:"/api/crop-yield-category-statics",params:e},{errorMessageMode:r})}function w(e,r="none"){return t.get({url:"/api/crop-yield-total-chart",params:e},{errorMessageMode:r})}function C(e,r="none"){return t.get({url:"/api/crop-yield-total-list",params:e},{errorMessageMode:r})}function k(e,r="none"){return t.get({url:"/api/device-base-data-statics",params:e},{errorMessageMode:r})}function b(e,r="none"){return t.get({url:"/api/device-base-data-statics-v2",params:e},{errorMessageMode:r})}function B(e,r="none"){return t.get({url:"/api/agricultural-device-basic",params:i({all:1},e)},{errorMessageMode:r})}function R(e,r="none"){return t.get({url:"/api/device-data-statics",params:e},{errorMessageMode:r})}function $(e,r="none"){return t.get({url:"/api/devices-num",params:e},{errorMessageMode:r})}function A(e,r="none"){return t.get({url:"/api/charts/rice-shrimp-industry",params:e},{errorMessageMode:r})}function Y(e,r="none"){return t.get({url:"/api/charts/rice-shrimp-flow",params:e},{errorMessageMode:r})}function K(e,r="none"){return t.get({url:"/api/charts/materiel",params:e},{errorMessageMode:r})}function P(e,r="none"){return t.get({url:"/api/charts/rice-shrimp-price",params:e},{errorMessageMode:r})}function T(e,r="none"){return t.get({url:"/api/charts/rice-shrimp-weekly-price",params:e},{errorMessageMode:r})}function q(e,r="none"){return t.get({url:"/api/crops",params:e},{errorMessageMode:r})}function x(e,r="none"){return t.get({url:"/api/crop-yield-quarter-statics",params:e},{errorMessageMode:r})}function F(e,r="none"){return t.get({url:"/api/friend-links",params:e},{errorMessageMode:r})}function I(e,r="none"){return t.get({url:`/api/agricultural-basic/${e}`},{errorMessageMode:r})}function L(e="none"){return t.get({url:"/api/ffmpeg-websocket-ip"},{errorMessageMode:e})}function j(e,r="none"){return t.put({url:`/api/devices-update-recommend/${e.id}`},{errorMessageMode:r})}function z(e,r="none"){return t.get({url:`/api/agricultural-device-points?type=${e}&all=1`},{errorMessageMode:r})}export{x as A,q as B,T as C,m as a,p as b,M as c,y as d,f as e,L as f,D as g,j as h,h as i,P as j,A as k,K as l,Y as m,F as n,S as o,w as p,C as q,B as r,l as s,$ as t,v as u,R as v,k as w,z as x,I as y,b as z};
|