调整购物卡下单校验

This commit is contained in:
luofei 2024-02-22 17:05:30 +08:00
parent 089a868ebd
commit 57ad28e7be

View File

@ -98,6 +98,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$orderRecord = StoreOrder::alias('t1')
->leftJoin('store_order_product t2', 't1.order_id = t2.order_id')
->whereIn('product_id', $productIds)
->where('uid', $uid)
->where('paid', 1)
->where('is_refund', 0)
->count();