预留接口

dev
vine_liutk 2022-10-24 17:56:43 +08:00
parent 5ae2c261f3
commit 70c5e3b9bd
1 changed files with 39 additions and 0 deletions

View File

@ -179,4 +179,43 @@ class CropYieldController extends Controller
// }
return $this->json($staticsData);
}
/**
* 行业产值统计,查询某年,可选镇(饼状图)
* --todo
*/
public function categoryStaticsChart(){
return $this->json([
'农业'=> 100,
'林业'=> 100,
'渔业'=> 100,
'畜牧业'=> 100,
'农林渔牧活动' => 200
]);
}
/**
* 总产值,查询年折线图(当年往前查4年),可选镇
* --todo
*/
public function totalStaticsChart(){
return $this->json([
'2018'=>0,
'2019'=>0,
'2020'=>0,
'2021'=>0,
'2022'=>0,
]);
}
/**
* 查询镇,行业产值列表(可选年,行业)
* --todo
* @return void
*/
public function totalStaticsList(){
return $this->json([
]);
}
}