DengTao 8 éve
szülő
commit
e68dd1ae5c

+ 2 - 4
www/protected/modules/common/controllers/ActivityController.php

@@ -35,10 +35,8 @@ class ActivityController extends O2oBaseController
   //扫码跳转11元订单页面,回掉微信接口,注册用户信息,然后生成订单
   //扫码跳转11元订单页面,回掉微信接口,注册用户信息,然后生成订单
   public function actionScanCoupon()
   public function actionScanCoupon()
   {
   {
-    $name = Yii::app()->request->getParam('name');
-    $phone = Yii::app()->request->getParam('phone');
-    $address = Yii::app()->request->getParam('address');
-    $this->renderpartial('SinglesDay');
+    $this->redirect('http://common.yiguanjia.me/index.php?r=o2o/web/index');
+    //$this->renderpartial('//protected/modules/o2o/Web');
   }
   }
 
 
   //扫码获取代金券
   //扫码获取代金券

+ 1 - 0
www/protected/modules/o2o/controllers/OrderController.php

@@ -30,6 +30,7 @@ class  OrderController extends O2oBaseController{
                 //CommonFn::requestAjax(false,CommonFn::getMessage('message','params_illegal'));
                 //CommonFn::requestAjax(false,CommonFn::getMessage('message','params_illegal'));
             //}
             //}
         }
         }
+
         //双十一活动暂用  start 判断用户是否购买过
         //双十一活动暂用  start 判断用户是否购买过
         /*$doubleEleventId = '581fe5a6a84ea0e36c8b45bb';
         /*$doubleEleventId = '581fe5a6a84ea0e36c8b45bb';
         if($products[0]['product'] == $doubleEleventId) {
         if($products[0]['product'] == $doubleEleventId) {