// 版本日志
import http from "@/apis/axios";
import userHttp from "@/apis/newUserAxios";

const api = "admin/";
export default {
  // 分页查询
  list: (data, params) => http(api + "versionlist", data, "post", params),
  // 分页查询
  add: (data, params) => http(api + "versionAdd", data, "post", params),
  userinfo: (data, params) => http(api + "userinfo", data, "post", params),
  setVersion: (data, headers) => userHttp("setSystemVer", data, "post", {}, headers),
};
