Authored by hf

code review by fei.hong: do huodong girlday coupon

... ... @@ -17,7 +17,7 @@
<div class="share">
</div>
<a class="banner" href="{{banner.url}}">
<img src="{{banner.img}}">
<img src="{{banner.img}}" style="border: none;">
</a>
<div class="footer">
</div>
... ...
... ... @@ -5,17 +5,17 @@
* Date: 2016/3/2
* Time: 10:48
*/
use Action\HuodongAction;
use Action\HuodongWebAction;
use Cuxiao\GirldayModel;
use WebPlugin\Helpers;
/**
* 女生节活动领券-第二波
* @author Administrator
*/
class GirldayController extends HuodongAction
class GirldayController extends HuodongWebAction
{
// const STATIC_FILE = 'http://localhost:2222/1.0.0';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016xinshili-2-web/1.0.0';
// const STATIC_FILE = 'http://localhost:2222/1.0.3';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016xinshili-2-web/1.0.3';
/**
* 检测登录状态
*
... ... @@ -59,7 +59,7 @@ class GirldayController extends HuodongAction
case 'testing': // 测试
case 'develop': // 开发
default:
return 90;
return 528; //490;
}
}
... ... @@ -99,7 +99,7 @@ class GirldayController extends HuodongAction
),
'couponUrl' => $myCouponUrl, // 个人中心优惠券地址
'banner' => array(
'img' => '',
'img' => 'http://img02.yohoboys.com/staticimg/2016/03/10/10/020ea7cb1f9c2f26b14e08107f778485ff.jpg',
'url' => 'http://www.yohobuy.com/special_14548_0310PCHOME.html',
),
'selectUrl' => 'http://www.yohobuy.com/home/coupons',
... ...