| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- const config = require("../config")
- module.exports = {
- weatherInfo: {
- url: config.base_dev_url + "lz_weather7d/get?key=" + config.mini_key,
- type: "get",
- },
- // 专家列表
- fetchExpertList: {
- url: config.base_dev_url + "container/expertList",
- type: "get",
- },
- listByFarmIdAndContainerId: {
- url: config.base_dev_url + "container_farm_work_scheme/listByFarmIdAndContainerId",
- type: "get",
- },
- savePlan: {
- url: config.base_dev_url + "container_farm_work_scheme/save",
- type: "post",
- },
- getPhenologyFarmWorkList: {
- url: config.base_dev_url + "container_farm_work_scheme/getPhenologyFarmWorkList",
- type: "get",
- },
- fetchDiseaseDetail: {
- url: config.base_dev_url + "pest_disease_dictionary/listByIds",
- type: "post",
- },
- fetchQuestPopup: {
- url: config.base_dev_url + "work_code/phenology/quest/popup",
- type: "get",
- },
- saveQuestPopup: {
- url: config.base_dev_url + "work_code/phenology/quest/save",
- type: "post",
- },
- getExpertByFarmId: {
- url: config.base_dev_url + "v2/farm/getExpertByFarmId",
- type: "get",
- },
- // 查询当前农资用户的所有方案列表
- listMySchemes:{
- url: config.base_dev_url + "container_farm_work_scheme/listMySchemes",
- type: "get",
- },
- //批量初始化农事方案(多个容器)
- batchInitSchemes:{
- url: config.base_dev_url + "container_farm_work_scheme/batchInitScheme",
- type: "post",
- },
- //根据方案ID查询农事列表(按物候期分组)
- listBySchemeId:{
- url: config.base_dev_url + "z_farm_work_lib/listBySchemeId",
- type: "get",
- }
- }
|