瀏覽代碼

activityController

DengTao 8 年之前
父節點
當前提交
f402c746b3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      www/protected/modules/common/controllers/ActivityController.php

+ 1 - 0
www/protected/modules/common/controllers/ActivityController.php

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