|
@@ -17,7 +17,7 @@ class UserController extends O2oBaseController{
|
|
|
//三批
|
|
|
$criteria = new EMongoCriteria();
|
|
|
|
|
|
- $criteria->coupon('==',new MongoId('58240b1ca84ea08d438b4567'));
|
|
|
+ $criteria->coupon('==',new MongoId('5822c17f9f5160bc048b4f98'));
|
|
|
$criteria->user('==', new MongoId($user_id));
|
|
|
$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'))) {
|