修改采购订单列表查询

This commit is contained in:
luofei 2023-07-07 17:12:34 +08:00
parent cc2ae7d4a2
commit 1e4be9da6f

View File

@ -166,7 +166,8 @@ class StoreOrder extends BaseController
*/
public function number()
{
return app('json')->success(['orderPrice' => $this->request->userInfo()->pay_price] + $this->repository->userOrderNumber($this->request->uid()));
$productType = $this->request->param('product_type', 0);
return app('json')->success(['orderPrice' => $this->request->userInfo()->pay_price] + $this->repository->userOrderNumber($this->request->uid(), $productType));
}
/**