|
@@ -8,6 +8,11 @@
|
|
|
|
|
|
class ActivityController extends O2oBaseController {
|
|
|
//扫码获取代金券
|
|
|
+
|
|
|
+ /* public function actionIndex(){
|
|
|
+ $this->renderpartial('index');
|
|
|
+ }*/
|
|
|
+
|
|
|
public function actionGetCoupon() {
|
|
|
$signPackage = CommonWeixin::get_sign();
|
|
|
$coupon_id = Yii::app()->request->getParam('coupon_id','');//获取代金券id
|
|
@@ -84,13 +89,7 @@ class ActivityController extends O2oBaseController {
|
|
|
}
|
|
|
|
|
|
if($home_page){
|
|
|
- $this->renderpartial('//o2o/web/index', array(
|
|
|
- 'version' => '2015111601',
|
|
|
- 'debug' => 'false',
|
|
|
- 'signPackage' => $signPackage,
|
|
|
- 'userId' => $userId,
|
|
|
- 'appToken' => $appToken,
|
|
|
- ));
|
|
|
+ $this->renderpartial('index');
|
|
|
}else{
|
|
|
|
|
|
$this->renderpartial('getCoupon', array(
|