12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- const config = require("../config")
- module.exports = {
- list: {
- url: config.base_dev_url + "farm/list",
- type: "get",
- },
- weatherRiskVirtualFarmList: {
- url: config.base_dev_url + "farm/weatherRiskVirtualFarmList?key="+config.mini_key,
- type: "get",
- },
- getTimeLine: {
- url: config.base_dev_url + "fairyland/getNodesByFarmId",
- type: "get",
- },
- getReportData: {
- url: config.base_dev_url + "fairyland/predict",
- type: "post",
- },
- getCataclysmTimeLine: {
- url: config.base_dev_url + "fairyland/getDisasterNodesByFarmId",
- type: "get",
- },
- getCataclysmReportData: {
- url: config.base_dev_url + "fairyland/disasterPredict",
- type: "post",
- },
- getDisasterJudgment: {
- url: config.base_dev_url + "fairyland/disasterJudgment",
- type: "post",
- },
- fetchFarmDetail: {
- url: config.base_dev_url + "farm/getById",
- type: "get",
- },
- fetchFarmWorkList: {
- url: config.base_dev_url + "farm/farm_work_list",
- type: "get",
- },
- fetchFarmImgs: {
- url: config.base_dev_url + "image/list",
- type: "post",
- },
- getLiveStart: {
- url: config.base_dev_url + "farm/liveStart",
- type: "get",
- },
- gardenItemChart: {
- url: config.base_dev_url + "plugin_weather_warning_record/gardenWarningInfoCharts?key="+config.mini_key,
- type: "get",
- },
- fetchFarmDetail: {
- url: config.base_dev_url + "farm/getById?key="+config.mini_key,
- type: "get",
- },
- fetchFarmWorkList: {
- url: config.base_dev_url + "farm/farm_work_list?key="+config.mini_key,
- type: "get",
- },
-
- farmImgList: {
- url: config.base_dev_url + "image/list?key="+config.mini_key,
- type: "post",
- },
-
- weather_warning_land_check: {
- url: config.base_dev_url + "land_check/weather_warning_land_check?key="+config.mini_key,
- type: "post",
- }
- }
|