@@ -41,7 +41,7 @@ class OrderChart
} else {
$type = 2;
}
-
+
foreach ($year as $v){
$realYear[$v]=$v;
@@ -81,6 +81,7 @@ class OrderChart
{
//type 1默认选择当前月份 2根据时间
+ $month >10??$month = '0'.$month;
if($type == 1){
//查找天