|
|
@@ -11,7 +11,7 @@ class StatOrderMonthClass extends BaseClass
|
|
|
public static $baseFile = '\biz\stat\models\StatOrderMonth';
|
|
|
|
|
|
//月订单数增加 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");
|
|
|
$stat = self::getByCondition(['merchantId' => $merchantId, 'time' => $month], true);
|