|
@@ -66,7 +66,7 @@ class WebController extends O2oBaseController {
|
|
|
$criteria->coupon('==',new MongoId('5822df8aa84ea04e238b456f'));
|
|
|
$criteria->user('==', new MongoId($userId));
|
|
|
$user_coupon = UserCoupon::model()->find($criteria);
|
|
|
- var_dump($user_coupon);
|
|
|
+ var_dump($user_coupon);exit;
|
|
|
if (empty($user_coupon) && time() >= intval(date_create("2016-11-10")->format('U')) && time() <= intval(date_create("2016-11-13")->format('U'))) {
|
|
|
|
|
|
$coupons = array(
|