Commit 2489df9e authored by zhuwei's avatar zhuwei

1

parent 9b578c57
......@@ -153,9 +153,11 @@ class ConvertCouponService
}
#发券日期大于最后使用日期
big_log('有效期天'.$v['use_period']);
big_log('发券日期'.$v['create_time']);
big_log('过期日期'.date("Y-m-d H:i:s", strtotime("+{$v['use_period']} day",strtotime($v['use_period']))));
if( $v['create_time'] > date("Y-m-d H:i:s", strtotime("+{$v['use_period']} day",strtotime($v['use_period'])))){
big_log('过期日期'.date("Y-m-d H:i:s", strtotime("+{$v['use_period']} day",strtotime($v['create_time']))));
if( $v['create_time'] > date("Y-m-d H:i:s", strtotime("+{$v['use_period']} day",strtotime($v['create_time'])))){
big_log('过期券');
$this->m_coupon->updateStatus($v['id'],2);
unset($coupon_list[$k]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment