|
@@ -90,7 +90,7 @@ class Coupon
|
|
|
|
|
|
$user = Dever::db('shop/user_coupon')->getOne(array('uid' => $uid, 'coupon_id' => $data['id']));
|
|
|
|
|
|
- if ($user && time() - $user['cdate'] < 86400*7) {
|
|
|
+ if ($user && time() - $user['cdate'] < 86400*30) {
|
|
|
Dever::alert('您已领取过该优惠劵');
|
|
|
return false;
|
|
|
}
|