import request from "@/utils/request";

// 新闻相关的请求地址
enum API {
  // 获取新闻列表接口地址
  NEWSLIST_URL = "/newsFocus/list",
}

//获取新闻列表
export const reqGetNewsList = (data: any) =>
  request({
    method: "get",
    url: API.NEWSLIST_URL,
    params: data,
  });
