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.
37 lines
663 B
37 lines
663 B
import request from "@/utils/request";
|
|
|
|
export function getOaToken (isLoading=false) {
|
|
return request({
|
|
url: "/api/admin/oa/get-oa-token",
|
|
method: "get",
|
|
isLoading
|
|
})
|
|
}
|
|
|
|
export function weather (params) {
|
|
return request({
|
|
url: "/api/admin/other/weather",
|
|
method: "get",
|
|
params,
|
|
isLoading: false
|
|
})
|
|
}
|
|
|
|
export function info (data) {
|
|
return request({
|
|
url: "/api/admin/other/get-daily-details-by-date",
|
|
method: "post",
|
|
data,
|
|
isLoading: false
|
|
})
|
|
}
|
|
|
|
export function equipmentInfos (params) {
|
|
return request({
|
|
url: "/api/admin/other/list-hob-real",
|
|
method: "get",
|
|
params,
|
|
isLoading: false
|
|
})
|
|
}
|