import { postform, postBody } from "../utils/request"; //获得数据列表接口 const getDmsDataList = (params) => { return postform(systemConfig.dmsDataProxy + "/content/selectContentList", params); }; //获得类型接口 const getDmsCNameAType = (params) => { return postform(systemConfig.dmsDataProxy + "/category/selectByCNameAType", params); }; //获得标签多选框接口 const getDmsSName = (params) => { return postform(systemConfig.dmsDataProxy + "/select/getSelectBySName", params); }; //根据模型id查询模型详情接口 const getModelById = (params) => { return postform(systemConfig.dmsDataProxy + "/model/getModelById", params) } //更新内容接口 const updateContent = (params) => { return postform(systemConfig.dmsDataProxy + "/content/updateContent", params) } // 获取内容 const getContentById = (params) => { return postform(systemConfig.dmsDataProxy + '/content/selectContentById', params); } // 获取运行管理页面数据(params:{nowTimes:[],lastTimes:[]}) const getAllYxglDatas = (params) => { return postBody( systemConfig.baseServicerPath + "/OperationManagementController/getAllYxglDatas", params ); }; // 获取所有服务数据(params:{nowTimes:[]}) const downFileAllServiceDatas = (params) => { return postBody( systemConfig.baseServicerPath + "/OperationManagementController/downFileAllServiceDatas", params ); }; // 根据时间查询服务调用详情(params:{nowTimes:[]}) const getServiceDataByDate = (params) => { return postBody( systemConfig.baseServicerPath + "/OperationManagementController/getServiceDataByDate", params ); } export default { getDmsDataList, getDmsCNameAType, getDmsSName, updateContent, getModelById, getContentById, getAllYxglDatas, downFileAllServiceDatas, getServiceDataByDate };