新增根据地区查询商品总数
This commit is contained in:
parent
65294eb944
commit
de6cea16ac
@ -1040,10 +1040,10 @@ class Auth extends BaseController
|
||||
if ($endDate) {
|
||||
$prodQueryBuilder = $prodQueryBuilder->whereTime('create_time', '<=', trim($endDate) . ' 23:59:59');
|
||||
}
|
||||
$prodNum = $prodQueryBuilder->fetchSql(false)->count();
|
||||
$goodsNum = $prodQueryBuilder->fetchSql(false)->count();
|
||||
$data = [
|
||||
'where' => $this->request->param(),
|
||||
'goods_num' => $prodNum
|
||||
'goods_num' => $goodsNum
|
||||
];
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user