shish hace 6 años
padre
commit
99308d2a9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      biz/stat/classes/StatOrderMonthClass.php

+ 1 - 1
biz/stat/classes/StatOrderMonthClass.php

@@ -11,7 +11,7 @@ class StatOrderMonthClass extends BaseClass
     public static $baseFile = '\biz\stat\models\StatOrderMonth';
     public static $baseFile = '\biz\stat\models\StatOrderMonth';
 
 
     //月订单数增加 shish 2020.5.25
     //月订单数增加 shish 2020.5.25
-    public static function addOrder($merchantId, $asset, $month)
+    public static function addOrder($merchantId, $asset, $month = null)
     {
     {
         $month = isset($month) ? $month : date("Ym");
         $month = isset($month) ? $month : date("Ym");
         $stat = self::getByCondition(['merchantId' => $merchantId, 'time' => $month], true);
         $stat = self::getByCondition(['merchantId' => $merchantId, 'time' => $month], true);