|  | @@ -21,13 +21,13 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |      port: 8100,
 | 
	
		
			
				|  |  |      testPort: 8105,
 | 
	
		
			
				|  |  |      replayPort: 8101,
 | 
	
		
			
				|  |  | -    watch: [`./api/`],
 | 
	
		
			
				|  |  | +    watch: [`./apix/`],
 | 
	
		
			
				|  |  |      proxy: {
 | 
	
		
			
				|  |  | -      '/': `http://192.168.1.196:8088/`, // 后端接口主域
 | 
	
		
			
				|  |  | +      '/': `http://192.168.1.70:8088/`, // 后端接口主域
 | 
	
		
			
				|  |  |        '/anything/intercept': [`origin`, `127.0.0.1`], // 修改接口返回的数据
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    apiX: {
 | 
	
		
			
				|  |  | -      'get /api/currentWeather': util.side({
 | 
	
		
			
				|  |  | +    api: {
 | 
	
		
			
				|  |  | +      'get /apix/currentWeather': util.side({
 | 
	
		
			
				|  |  |          tags: [`公用`],
 | 
	
		
			
				|  |  |          summary: `当前天气`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -89,7 +89,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/mapOfTongren': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/mapOfTongren': util.side({
 | 
	
		
			
				|  |  |          tags: [`公用`],
 | 
	
		
			
				|  |  |          summary: `铜仁地图数据`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -107,7 +107,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/realTimeStatistics': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/realTimeStatistics': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`],
 | 
	
		
			
				|  |  |          summary: `实时统计`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -126,7 +126,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/analysisOfTransplantYieldInVariousRegions': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/analysisOfTransplantYieldInVariousRegions': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`],
 | 
	
		
			
				|  |  |          summary: `各区域移栽产量分析`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -144,7 +144,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/weatherForecast': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/weatherForecast': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `天气预报, 实时天气`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -171,7 +171,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/transplantAreaInEachRegion': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/transplantAreaInEachRegion': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`],
 | 
	
		
			
				|  |  |          summary: `各区域移栽面积`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -190,7 +190,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/analysisOfTransplantingSituation': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/analysisOfTransplantingSituation': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`],
 | 
	
		
			
				|  |  |          summary: `移栽情况分析`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -212,7 +212,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/transplantTrendAnalysis': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/transplantTrendAnalysis': util.side({
 | 
	
		
			
				|  |  |          tags: [`综合总览`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `移栽趋势分析, 月度移栽趋势`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 | 
	
	
		
			
				|  | @@ -250,17 +250,16 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |              .description(`搜索项`),
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
		
			
				|  |  | -          res.redirect(req.originalUrl.replace(`/api`, ``))
 | 
	
		
			
				|  |  | +          res.redirect(req.originalUrl.replace(`/apix`, ``))
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  |        'get /api/base/:id': util.side({
 | 
	
		
			
				|  |  |          tags: [`增删改查`, `种植分析`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `基地详情`,
 | 
	
		
			
				|  |  |          schema: {
 | 
	
		
			
				|  |  | -          path: joi
 | 
	
		
			
				|  |  | -            .object({
 | 
	
		
			
				|  |  | -              id: joi.string(),
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | +          path: joi.object({
 | 
	
		
			
				|  |  | +            id: joi.string(),
 | 
	
		
			
				|  |  | +          }),
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
		
			
				|  |  |            res.redirect(req.originalUrl.replace(`/api`, ``))
 | 
	
	
		
			
				|  | @@ -278,10 +277,10 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |              .description(`搜索项`),
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
		
			
				|  |  | -          res.redirect(req.originalUrl.replace(`/api`, ``))
 | 
	
		
			
				|  |  | +          res.redirect(req.originalUrl.replace(`/apix`, ``))
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/transplantAreaInEachRegion2': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/transplantAreaInEachRegion2': util.side({
 | 
	
		
			
				|  |  |          tags: [`种植分析`],
 | 
	
		
			
				|  |  |          summary: `各区域移栽面积`,
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
	
		
			
				|  | @@ -291,10 +290,10 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |                  'data|10': [
 | 
	
		
			
				|  |  |                    {
 | 
	
		
			
				|  |  |                      名称: `@county`,
 | 
	
		
			
				|  |  | -                    已移载: `@integer(9, 9e4)`,
 | 
	
		
			
				|  |  | +                    已移栽: `@integer(9, 9e4)`,
 | 
	
		
			
				|  |  |                      未移栽: `@integer(9, 9e4)`,
 | 
	
		
			
				|  |  |                      比率() {
 | 
	
		
			
				|  |  | -                      return (this.已移载 / (this.已移载 + this.未移栽)) * 100
 | 
	
		
			
				|  |  | +                      return (this.已移栽 / (this.已移栽 + this.未移栽)) * 100
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                    },
 | 
	
		
			
				|  |  |                  ],
 | 
	
	
		
			
				|  | @@ -303,7 +302,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/trendOfTransplantQuantityThisMonth': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/trendOfTransplantQuantityThisMonth': util.side({
 | 
	
		
			
				|  |  |          tags: [`种植分析`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `本月移栽数量趋势`,
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
	
		
			
				|  | @@ -329,7 +328,7 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/thisYearsTransplantingDataTrend': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/thisYearsTransplantingDataTrend': util.side({
 | 
	
		
			
				|  |  |          tags: [`种植分析`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `本年移栽数据趋势, 年度移栽趋势`,
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
	
		
			
				|  | @@ -355,21 +354,21 @@ module.exports = async (util) => {
 | 
	
		
			
				|  |  |            )
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/analysisOfAnnualTransplantArea': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/analysisOfAnnualTransplantArea': util.side({
 | 
	
		
			
				|  |  |          tags: [`种植分析`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `年度移栽面积分析`,
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
		
			
				|  |  | -          res.redirect(`/api/thisYearsTransplantingDataTrend`)
 | 
	
		
			
				|  |  | +          res.redirect(`/apix/thisYearsTransplantingDataTrend`)
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/monthlyTransplantationAreaAnalysis': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/monthlyTransplantationAreaAnalysis': util.side({
 | 
	
		
			
				|  |  |          tags: [`种植分析`, `种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `月度移栽面积分析`,
 | 
	
		
			
				|  |  |          async action(req, res, next) {
 | 
	
		
			
				|  |  | -          res.redirect(`/api/trendOfTransplantQuantityThisMonth`)
 | 
	
		
			
				|  |  | +          res.redirect(`/apix/trendOfTransplantQuantityThisMonth`)
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        }),
 | 
	
		
			
				|  |  | -      'get /api/transplantData': util.side({
 | 
	
		
			
				|  |  | +      'get /apix/transplantData': util.side({
 | 
	
		
			
				|  |  |          tags: [`种值分析详情`],
 | 
	
		
			
				|  |  |          summary: `移栽数据`,
 | 
	
		
			
				|  |  |          async action(req, res) {
 |