debug 种养殖商户销售统计接口

This commit is contained in:
chenbo 2023-12-02 15:54:49 +08:00
parent 39e5ef9d03
commit ea2fe056f6

View File

@ -300,6 +300,7 @@ class Statistics extends BaseController
$area[] = ['category_id', '=', $merchant_category_id];
$merchant = Db::name('merchant')->where($area)->column('mer_id');
dd(Db::name('merchant')->getLastSql());
if (!$merchant) {
return app('json')->fail('查询商户为空');
}