Authored by hf

code review by fei.hong: do huodong girlday coupon

@@ -18,17 +18,17 @@ class Yohobuy @@ -18,17 +18,17 @@ class Yohobuy
18 { 18 {
19 /* 正式环境 */ 19 /* 正式环境 */
20 // php API 20 // php API
21 - const API_URL = 'http://api2.open.yohobuy.com/';  
22 - const API_URL2 = 'http://api.open.yohobuy.com/';  
23 - const SERVICE_URL = 'http://service.api.yohobuy.com/';  
24 - const YOHOBUY_URL = 'http://www.yohobuy.com/'; 21 +// const API_URL = 'http://api2.open.yohobuy.com/';
  22 +// const API_URL2 = 'http://api.open.yohobuy.com/';
  23 +// const SERVICE_URL = 'http://service.api.yohobuy.com/';
  24 +// const YOHOBUY_URL = 'http://www.yohobuy.com/';
25 25
26 //java API 26 //java API
27 -// const API_URL = 'http://apih5.yoho.cn/';  
28 -// const API_URL2 = 'http://apih5.yoho.cn/';  
29 -// const SERVICE_URL = 'http://serviceh5.yoho.cn/';  
30 -// const YOHOBUY_URL = 'http://www.yohobuy.com/';  
31 -// const API_OLD = 'http://api2.open.yohobuy.com/'; 27 + const API_URL = 'http://apih5.yoho.cn/';
  28 + const API_URL2 = 'http://apih5.yoho.cn/';
  29 + const SERVICE_URL = 'http://serviceh5.yoho.cn/';
  30 + const YOHOBUY_URL = 'http://www.yohobuy.com/';
  31 + const API_OLD = 'http://api2.open.yohobuy.com/';
32 32
33 /* 测试环境 */ 33 /* 测试环境 */
34 // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' 34 // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
@@ -71,13 +71,13 @@ class GirldayController extends HuodongAction @@ -71,13 +71,13 @@ class GirldayController extends HuodongAction
71 'getCouponUrl' => Helpers::url('/cuxiao/girlday/sendCoupon', array('uid' => $this->getLoggedUid())), 71 'getCouponUrl' => Helpers::url('/cuxiao/girlday/sendCoupon', array('uid' => $this->getLoggedUid())),
72 'banner' => array( 72 'banner' => array(
73 'img' => 'http://img02.yohoboys.com/staticimg/2016/03/10/10/02b9827b20adc91409b5301f2232dc9144.jpg', 73 'img' => 'http://img02.yohoboys.com/staticimg/2016/03/10/10/02b9827b20adc91409b5301f2232dc9144.jpg',
74 - 'url' => 'http://feature.yoho.cn/0310/0310APPHOME/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"YOHO!BUY有货【春潮新势力】", "url":"http://feature.yoho.cn/0310/0310APPHOME/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"382"},"param":{"share_id":"382"}}}' 74 + 'url' => 'http://feature.yoho.cn/0310/0310APPHOME/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"YOHO!BUY有货【春潮新势力】","url":"http://feature.yoho.cn/0310/0310APPHOME/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"382"},"param":{"share_id":"382"}}}'
75 ), 75 ),
76 'selectUrl' => 'http://m.yohobuy.com/home/coupons?openby:yohobuy={"action":"go.coupon"}', 76 'selectUrl' => 'http://m.yohobuy.com/home/coupons?openby:yohobuy={"action":"go.coupon"}',
77 'weixinUrl' => 'http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址 77 'weixinUrl' => 'http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址
78 'appUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址 78 'appUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址
79 'shareTitle' => 'YOHO!BUY有货【春潮新势力】火力全开!320元优惠券限时派送中!', 79 'shareTitle' => 'YOHO!BUY有货【春潮新势力】火力全开!320元优惠券限时派送中!',
80 - 'shareDesc' => '换我做主,用新陪伴!白色情人节限时2件7折!', 80 + 'shareDesc' => '唤醒潮流,用新陪伴!白色情人节限时2件7折!',
81 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/03/10/10/0298ef8fbbb543144af487fbcd6718041b.png', 81 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/03/10/10/0298ef8fbbb543144af487fbcd6718041b.png',
82 'shareLink' => 'http://feature.yoho.cn/0310/0310APPHOME/index.html' 82 'shareLink' => 'http://feature.yoho.cn/0310/0310APPHOME/index.html'
83 )); 83 ));