| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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",
- },
- 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_url +"farm_work/list",
- 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",
- },
-
- getSampleFiles: {
- url: config.base_dev_url + "image/getSampleFiles?key="+config.mini_key,
- type: "get",
- },
- }
|