Merge branch 'feature/purchase_record' into dev

This commit is contained in:
luofei 2023-07-07 17:12:44 +08:00
commit c3418e5c07

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));
}
/**