| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- const config = require("../config")
- module.exports = {
- // 首页巡园要点查询:一次返回物候 / 异常 / 土壤任务
- // 参数:crop_type、farm_id、zone_id、calc_date
- getTypesTask: {
- url: config.base_new_url + "pheno/interact_tasks_with_abnormal",
- type: "get",
- },
- // 土壤问题互动查询
- getSoilTasks: {
- url: config.base_new_url + "pheno/soil_root_perception",
- type: "get",
- },
- // 更新分区名称
- updateZoneName: {
- url: config.base_new_url + "questionnaire/update_zone_name",
- type: "post",
- },
- // 农事已完成
- updateTaskFinish: {
- url: config.base_new_url + "questionnaire/fw_task_finish",
- type: "post",
- },
- // 农事详情查询
- getTaskDetail: {
- url: config.base_new_url + "questionnaire/fw_task_detail",
- type: "get",
- },
- // 点位推荐作物
- getRecommend: {
- url: config.base_new_url + "crop/recommend_by_point",
- type: "get",
- },
- // 删除农场id
- deleteFarm: {
- url: config.base_new_url + "questionnaire/delete_farm_information",
- type: "post",
- },
- }
|