Browse Source

activityController

DengTao 8 years ago
parent
commit
269f984d64
1 changed files with 1 additions and 0 deletions
  1. 1 0
      www/protected/modules/common/controllers/ActivityController.php

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

@@ -87,6 +87,7 @@ class ActivityController extends O2oBaseController  {
         $start_time = time();                 //发放优惠券可用开始时间
         $end_time = $start_time + 86400*30;   //发放优惠券过期时间
         $userId = new MongoId($userId);
+        var_dump($userId);exit;
         if (CommonFn::isMongoId($coupon_id) && !$coupon_id) {
             if (CommonFn::isMongoId($userId) && !$userId) {
                 Service::factory('CouponService')->giveCoupon($userId, $coupon_id, $start_time, $end_time);//发放代金券