import http from "./config";
// 创建作业信息接口
export const createWorkTask = (obj) =>
  http.post("/work/createWorkTask", obj);
// 删除作业信息接口
export const deleteWorkTask = (obj) => http.post("/work/deleteWorkTask", obj);
// 根据ID获取作业信息详情
export const queryWorkDetailById = (obj) => http.post('/work/queryWorkDetailById', obj, {
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
  }
});
// 修改作业信息接口
export const updateWorkTaskUsing = (obj) =>
  http.post("/work/updateWorkTask", obj);
