|
@@ -73,7 +73,7 @@ class WebController extends O2oBaseController {
|
|
|
//三批
|
|
|
$criteria = new EMongoCriteria();
|
|
|
|
|
|
- $criteria->coupon('==',new MongoId('57fe0aaa9f5160b1048b456c'));
|
|
|
+ $criteria->coupon('==',new MongoId('5822c17f9f5160bc048b4f98'));
|
|
|
$criteria->user('==', new MongoId($userId));
|
|
|
$user_coupon = UserCoupon::model()->find($criteria);
|
|
|
if (empty($user_coupon) && time() >= intval(date_create("2016-11-11")->format('U')) && time() <= intval(date_create("2016-11-17")->format('U'))) {
|