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