@@ -91,6 +91,7 @@ class ActivityController extends O2oBaseController {
if (CommonFn::isMongoId($coupon_id) && !$coupon_id) {
if (CommonFn::isMongoId($userId) && !$userId) {
Service::factory('CouponService')->giveCoupon($userId, $coupon_id, $start_time, $end_time);//发放代金券
+ $home_page = 1;
}
if($home_page){