Merge branch 'dev'

This commit is contained in:
2024-07-31 17:08:09 +08:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class UserCoupon extends Model
{
return self::with(['Coupon'])
->whereHas('Coupon' , function($query){
$query->where("coupon_client",1)->where("coupon_status",1);
$query->where("coupon_client",1)->whereNotIn("coupon_status",[2,4]);
})
->where($params)->get($fields);
}