|
@@ -83,7 +83,7 @@ class UserCoupon extends Model
|
|
|
}
|
|
|
$time=date('Y-m-d H:i:s');
|
|
|
if(
|
|
|
- (($this['type']==Coupon::T_FULL && $amount>=$this['amount_full'])||
|
|
|
+ (($this['type']==Coupon::T_FULL && $amount>$this['amount_full'])||
|
|
|
($this['type']==Coupon::T_WU && $amount>$this['amount'])) &&
|
|
|
in_array($goods_id,$couponGoods) &&
|
|
|
$this['is_use']==0 &&
|