admin/app/api/model/plus/coupon/UserCoupon.php
@@ -30,7 +30,7 @@ { $model = $this; if ($shop_supplier_id != -1) { $model = $model->where('shop_supplier_id', '=', $shop_supplier_id); $model = $model->where('shop_supplier_id', 'in', [0,$shop_supplier_id]); } if ($coupon_type == 'duihuan') { $model = $model->where('coupon_type', '=', 30);