|
@@ -170,7 +170,7 @@ class Common extends BaseController
|
|
170
|
$dayWhere .= " and DATE(create_time) = '" . $todayFormatted . "'";
|
170
|
$dayWhere .= " and DATE(create_time) = '" . $todayFormatted . "'";
|
|
171
|
|
171
|
|
|
172
|
//线上订单
|
172
|
//线上订单
|
|
173
|
- $todayShangCount = Db::name('store_order')->where($dayWhere)->where('paid', 1)->count();
|
|
|
|
|
|
173
|
+ $todayShangCount = Db::name('store_order')->where($dayWhere)->where('paid', 1)->where('test_order', 0)->count();
|
|
174
|
|
174
|
|
|
175
|
//线下订单
|
175
|
//线下订单
|
|
176
|
$todayXiaCount = Db::name('order_merchant')->where($dayWhere)->where('paid', 1)->count();
|
176
|
$todayXiaCount = Db::name('order_merchant')->where($dayWhere)->where('paid', 1)->count();
|