Authored by hf

do modify huodong cuxiao coupon page 2 brands links

@@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
69 <a class="get-coupon" href="{{jumpUrl}}" param="15763"></a> 69 <a class="get-coupon" href="{{jumpUrl}}" param="15763"></a>
70 </li> 70 </li>
71 <li> 71 <li>
72 - <a class="enter-store" href="{{url_701}}"></a> 72 + <a class="enter-store" href="{{url_738}}"></a>
73 <a class="get-coupon" href="{{jumpUrl}}" param="15827"></a> 73 <a class="get-coupon" href="{{jumpUrl}}" param="15827"></a>
74 </li> 74 </li>
75 </ul> 75 </ul>
@@ -116,7 +116,7 @@ @@ -116,7 +116,7 @@
116 </ul> 116 </ul>
117 <ul class="img-coupon04 girl2"> 117 <ul class="img-coupon04 girl2">
118 <li> 118 <li>
119 - <a class="enter-store" href="{{url_738}}"></a> 119 + <a class="enter-store" href="{{url_875}}"></a>
120 <a class="get-coupon" href="{{jumpUrl}}" param="15843"></a> 120 <a class="get-coupon" href="{{jumpUrl}}" param="15843"></a>
121 </li> 121 </li>
122 <li> 122 <li>
@@ -235,8 +235,9 @@ class CouponController extends HuodongAction @@ -235,8 +235,9 @@ class CouponController extends HuodongAction
235 } else { 235 } else {
236 $isLogged = $this->getUid(); 236 $isLogged = $this->getUid();
237 } 237 }
238 - $urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');  
239 - $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2'); 238 + $isPageTwo = time() > 1449417600;
  239 + $urlBoys = $isPageTwo ? Helpers::url('/cuxiao/coupon/boysbrand2') : Helpers::url('/cuxiao/coupon/boysbrand');
  240 + $urlGirls = $isPageTwo ? Helpers::url('/cuxiao/coupon/girlsbrand2') : Helpers::url('/cuxiao/coupon/girlsbrand');
240 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 241 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
241 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 242 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
242 $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare'; 243 $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
@@ -287,8 +288,9 @@ class CouponController extends HuodongAction @@ -287,8 +288,9 @@ class CouponController extends HuodongAction
287 $isLogged = $this->getUid(); 288 $isLogged = $this->getUid();
288 } 289 }
289 290
290 - $urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');  
291 - $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2'); 291 + $isPageTwo = time() > 1449417600;
  292 + $urlBoys = $isPageTwo ? Helpers::url('/cuxiao/coupon/boysbrand2') : Helpers::url('/cuxiao/coupon/boysbrand');
  293 + $urlGirls = $isPageTwo ? Helpers::url('/cuxiao/coupon/girlsbrand2') : Helpers::url('/cuxiao/coupon/girlsbrand');
292 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); 294 $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
293 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); 295 $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
294 $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare'; 296 $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';