Browse Source

改一下bug

gogs 2 months ago
parent
commit
d6a965ad29
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/Service/StatisticService.php

+ 3 - 2
app/Service/StatisticService.php

@@ -559,10 +559,11 @@ class StatisticService extends Service
             $endDate = $year . "-12-31";
             $endDate = $year . "-12-31";
 
 
             return [
             return [
-                'start_date' => $startDate,
-                'end_date' => $endDate,
+                 $startDate,
+                 $endDate,
             ];
             ];
         } catch (\Exception $e) {
         } catch (\Exception $e) {
+//            var_dump($e->getMessage());die;
             return null;
             return null;
         }
         }
     }
     }