Newer
Older
Nanping_sponge / src / api / index.js
@liyingjing liyingjing on 25 Oct 2023 723 bytes 南平登录模块
import request from "@/utils/request";

// 获取天气预报
export function weatherPredict(query) {
  return request({
    url: "/business/weather/predict",
    method: "get",
    params: query,
  });
}

//当日,本周,本月巡查统计
export function patrolCount(query) {
  return request({
    url: "/business/patrolHomepage/patrolCount",
    method: "get",
    params: query,
  });
}
//工作日历
export function workCal(query) {
  return request({
    url: "/business/patrolHomepage/workCal",
    method: "get",
    params: query,
  });
}

//获取通知列表
export function getNotice(query) {
  return request({
    url: "/business/patrolHomepage/getNotice",
    method: "get",
    params: query,
  });
}