|
@@ -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';
|