const config = require("../config");

module.exports = {
  page: {
    url: config.base_url + "plant_task/page/{page}/{limit}",
    type: "get",
  },
  list: {
    url: config.base_url + "plant_task/list",
    type: "get",
  },
  getStsToken: {
    url: config.base_url + "plant_task/getStsToken",
    type: "get",
  } ,
  associate: {
    url: config.base_url + "plant_task/associate",
    type: "post",
  },
  create: {
    url: config.base_url + "plant_task/create",
    type: "post",
  },
  start: {
    url: config.base_url + "plant_task/start",
    type: "get",
  },
  updateStatus: {
    url: config.base_url + "plant_task/updateStatus",
    type: "get",
  },
  groupList: {
    url: config.base_url + "plant_group/list",
    type: "get",
  },
  uploadedFileList: {
    url: config.base_url + "plant_task_upload_record/list/{taskId}",
    type: "get",
  }
};
