Xinshili.php
1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
use Action\HuodongAction;
use Plugin\Helpers;
/**
* 元宵抽签活动
*/
class XinshiliController extends HuodongAction
{
// const STATIC_FILE = 'http://localhost:2222/1.0.0';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016xinshili/1.0.0';
/**
* 元宵抽签
*/
public function indexAction()
{
$this->_view->display('index', array(
'staticTitle' => '新势力',
'staticFile' => self::STATIC_FILE,
'staticJS' => array(
'home.js'
),
'couponUrl' => '', // 个人中心优惠券地址
'banner' => array(
'img' => '',
'url' => ''
),
'weixinUrl' => '', // 微信关注地址
'appUrl' => '', // APP 下载地址
'shareTitle' => '新势力',
'shareDesc' => '新势力领券',
'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png',
'shareLink' => Helpers::url('/cuxiao/yuanxiao/index')
));
}
}