Authored by hf

do modify huodong cuxiao coupon page 2 brands links

... ... @@ -69,7 +69,7 @@
<a class="get-coupon" href="{{jumpUrl}}" param="15763"></a>
</li>
<li>
<a class="enter-store" href="{{url_701}}"></a>
<a class="enter-store" href="{{url_738}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param="15827"></a>
</li>
</ul>
... ... @@ -116,7 +116,7 @@
</ul>
<ul class="img-coupon04 girl2">
<li>
<a class="enter-store" href="{{url_738}}"></a>
<a class="enter-store" href="{{url_875}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param="15843"></a>
</li>
<li>
... ...
... ... @@ -235,8 +235,9 @@ class CouponController extends HuodongAction
} else {
$isLogged = $this->getUid();
}
$urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');
$urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2');
$isPageTwo = time() > 1449417600;
$urlBoys = $isPageTwo ? Helpers::url('/cuxiao/coupon/boysbrand2') : Helpers::url('/cuxiao/coupon/boysbrand');
$urlGirls = $isPageTwo ? Helpers::url('/cuxiao/coupon/girlsbrand2') : Helpers::url('/cuxiao/coupon/girlsbrand');
$urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
$urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
$urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
... ... @@ -287,8 +288,9 @@ class CouponController extends HuodongAction
$isLogged = $this->getUid();
}
$urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');
$urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2');
$isPageTwo = time() > 1449417600;
$urlBoys = $isPageTwo ? Helpers::url('/cuxiao/coupon/boysbrand2') : Helpers::url('/cuxiao/coupon/boysbrand');
$urlGirls = $isPageTwo ? Helpers::url('/cuxiao/coupon/girlsbrand2') : Helpers::url('/cuxiao/coupon/girlsbrand');
$urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
$urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
$urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
... ...