| 123456789101112131415161718192021222324252627282930313233343536373839 |
- const config = require("../config")
- module.exports = {
- // 获取种植品类列表
- getCropHierarchy: {
- url: config.base_new_url + "get_crop_hierarchy",
- type: "get",
- },
- // 获取小品种对应列表
- getVarietiesByCrop: {
- url: config.base_new_url + "questionnaire/farmer_crop_pheno",
- type: "get",
- },
- // 农户新增
- addFarmInfo: {
- url: config.base_new_url + "questionnaire/add_farm_info",
- type: "post",
- },
- // 品类列表
- getCrops: {
- url: config.base_new_url + "questionnaire/crops",
- type: "get",
- },
- // 农机设备列表(农户用)
- getMachines: {
- url: config.base_new_url + "questionnaire/farmer_crop_detail",
- type: "get",
- },
- // 问卷-品类对应农事列表
- getCropTasks: {
- url: config.base_new_url + "questionnaire/farm_tasks",
- type: "get",
- },
- // 作物档案-物候记录
- getPhenoRecord: {
- url: config.base_new_url + "questionnaire/pheno_record",
- type: "get",
- },
- }
|