Authored by 郝肖肖

外部连接改成http

@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
43 </div> 43 </div>
44 <div class="bottom-btn"> 44 <div class="bottom-btn">
45 <a class="follow-yoho" href="//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> 45 <a class="follow-yoho" href="//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
46 - <a class="download-yoho" href="//www.yohoshow.com/about/index/yohobuyqr"></a> 46 + <a class="download-yoho" href="http://www.yohoshow.com/about/index/yohobuyqr"></a>
47 </div> 47 </div>
48 </div> 48 </div>
49 <div class="coupon-ft"> 49 <div class="coupon-ft">
@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 </div> 44 </div>
45 <div class="bottom-btn"> 45 <div class="bottom-btn">
46 <a class="follow-yoho" href="//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> 46 <a class="follow-yoho" href="//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
47 - <a class="download-yoho" href="//www.yohoshow.com/about/index/yohobuyqr"></a> 47 + <a class="download-yoho" href="http://www.yohoshow.com/about/index/yohobuyqr"></a>
48 </div> 48 </div>
49 49
50 </div> 50 </div>
@@ -56,7 +56,7 @@ @@ -56,7 +56,7 @@
56 </div> 56 </div>
57 </div> 57 </div>
58 <div class="foot-wrapper"> 58 <div class="foot-wrapper">
59 - <a href="//app.yohoshow.com/" target="_blank"> 59 + <a href="http://app.yohoshow.com/" target="_blank">
60 {{#if devEnv}} 60 {{#if devEnv}}
61 <img src="//webstatic.dev.yohobuy.com/img/download/main-bottom.jpg"> 61 <img src="//webstatic.dev.yohobuy.com/img/download/main-bottom.jpg">
62 {{^}} 62 {{^}}
@@ -137,7 +137,7 @@ @@ -137,7 +137,7 @@
137 <div id="foot-mobile"> 137 <div id="foot-mobile">
138 <ul class="mobile clearfix"> 138 <ul class="mobile clearfix">
139 <li> 139 <li>
140 - <a href="//www.yohomars.com/" target="_blank"> 140 + <a href="http://www.yohomars.com/" target="_blank">
141 {{#if devEnv}} 141 {{#if devEnv}}
142 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/mars.png"> 142 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/mars.png">
143 {{^}} 143 {{^}}
@@ -146,7 +146,7 @@ @@ -146,7 +146,7 @@
146 </a> 146 </a>
147 </li> 147 </li>
148 <li> 148 <li>
149 - <a href="//app.yohoshow.com/" target="_blank"> 149 + <a href="http://app.yohoshow.com/" target="_blank">
150 {{#if devEnv}} 150 {{#if devEnv}}
151 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/show.png"> 151 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/show.png">
152 {{^}} 152 {{^}}
@@ -155,7 +155,7 @@ @@ -155,7 +155,7 @@
155 </a> 155 </a>
156 </li> 156 </li>
157 <li> 157 <li>
158 - <a href="//www.yoho.cn/product#yoho" target="_blank"> 158 + <a href="http://www.yoho.cn/product#yoho" target="_blank">
159 {{#if devEnv}} 159 {{#if devEnv}}
160 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/yoho.png"> 160 <img class="lazy" data-original="//webstatic.dev.yohobuy.com/img/index/yoho.png">
161 {{^}} 161 {{^}}
@@ -775,7 +775,7 @@ class CouponController extends HuodongAction @@ -775,7 +775,7 @@ class CouponController extends HuodongAction
775 'bannerUrl_2' => '//feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"534"},"param":{"share_id":"534"}}}', 775 'bannerUrl_2' => '//feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"534"},"param":{"share_id":"534"}}}',
776 'bannerUrl_3' => '//feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"532"},"param":{"share_id":"532"}}}', 776 'bannerUrl_3' => '//feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"532"},"param":{"share_id":"532"}}}',
777 'bannerUrl_4' => '//feature.yoho.cn/0112/0112APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"530"},"param":{"share_id":"530"}}}', 777 'bannerUrl_4' => '//feature.yoho.cn/0112/0112APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"//feature.yoho.cn/0112/0112APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"530"},"param":{"share_id":"530"}}}',
778 - 'downAppUrl' => '//www.yohoshow.com/about/index/yohobuyqr', 778 + 'downAppUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr',
779 )); 779 ));
780 } 780 }
781 781
@@ -828,7 +828,7 @@ class CouponController extends HuodongAction @@ -828,7 +828,7 @@ class CouponController extends HuodongAction
828 'bannerUrl_2' => '//feature.yoho.cn/0125/0125APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"372"},"param":{"share_id":"372"}}}', 828 'bannerUrl_2' => '//feature.yoho.cn/0125/0125APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"372"},"param":{"share_id":"372"}}}',
829 'bannerUrl_3' => '//feature.yoho.cn/0125/0125APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"370"},"param":{"share_id":"370"}}}', 829 'bannerUrl_3' => '//feature.yoho.cn/0125/0125APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"370"},"param":{"share_id":"370"}}}',
830 'bannerUrl_4' => '//feature.yoho.cn/0125/0125APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"368"},"param":{"share_id":"368"}}}', 830 'bannerUrl_4' => '//feature.yoho.cn/0125/0125APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE","url":"//feature.yoho.cn/0125/0125APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"368"},"param":{"share_id":"368"}}}',
831 - 'downAppUrl' => '//www.yohoshow.com/about/index/yohobuyqr', 831 + 'downAppUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr',
832 )); 832 ));
833 } 833 }
834 834
@@ -48,7 +48,7 @@ class GirldayController extends HuodongAction @@ -48,7 +48,7 @@ class GirldayController extends HuodongAction
48 ), 48 ),
49 'selectUrl' => '//m.yohobuy.com/home/coupons?openby:yohobuy={"action":"go.coupon"}', 49 'selectUrl' => '//m.yohobuy.com/home/coupons?openby:yohobuy={"action":"go.coupon"}',
50 'weixinUrl' => '//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址 50 'weixinUrl' => '//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址
51 - 'appUrl' => '//www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址 51 + 'appUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址
52 'shareTitle' => 'YOHO!BUY有货【春潮新势力】火力全开!320元优惠券限时派送中!', 52 'shareTitle' => 'YOHO!BUY有货【春潮新势力】火力全开!320元优惠券限时派送中!',
53 'shareDesc' => '换我做主,用新陪伴!白色情人节限时2件7折!', 53 'shareDesc' => '换我做主,用新陪伴!白色情人节限时2件7折!',
54 'shareImg' => '//img02.yohoboys.com/staticimg/2016/03/10/10/0298ef8fbbb543144af487fbcd6718041b.png', 54 'shareImg' => '//img02.yohoboys.com/staticimg/2016/03/10/10/0298ef8fbbb543144af487fbcd6718041b.png',
@@ -63,8 +63,8 @@ class NewyearController extends HuodongAction @@ -63,8 +63,8 @@ class NewyearController extends HuodongAction
63 'bannerUrl_3' => '//m.yohobuy.com/kids?openby:yohobuy={"action":"go.home","params":{"channel":"3"}}', 63 'bannerUrl_3' => '//m.yohobuy.com/kids?openby:yohobuy={"action":"go.home","params":{"channel":"3"}}',
64 'bannerUrl_4' => '//m.yohobuy.com/lifestyle?openby:yohobuy={"action":"go.home","params":{"channel":"4"}}', 64 'bannerUrl_4' => '//m.yohobuy.com/lifestyle?openby:yohobuy={"action":"go.home","params":{"channel":"4"}}',
65 'playAgain' => '//feature.yoho.cn/2016lishifeng/index.html', 65 'playAgain' => '//feature.yoho.cn/2016lishifeng/index.html',
66 - 'appUrl_1' => '//www.yohoshow.com/about/index/yohobuyqr',  
67 - 'appUrl_2' => '//www.yohoshow.com/about/index/yohoboysqr', 66 + 'appUrl_1' => 'http://www.yohoshow.com/about/index/yohobuyqr',
  67 + 'appUrl_2' => 'http://www.yohoshow.com/about/index/yohoboysqr',
68 )); 68 ));
69 } 69 }
70 70
@@ -68,7 +68,7 @@ class XinshiliController extends HuodongAction @@ -68,7 +68,7 @@ class XinshiliController extends HuodongAction
68 'url' => '//feature.yoho.cn/0302/0302APPHOME/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"YOHO!BUY有货【春潮新势力】","url":"//feature.yoho.cn/0302/0302APPHOME/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"386"},"param":{"share_id":"386"}}}' 68 'url' => '//feature.yoho.cn/0302/0302APPHOME/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"YOHO!BUY有货【春潮新势力】","url":"//feature.yoho.cn/0302/0302APPHOME/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"386"},"param":{"share_id":"386"}}}'
69 ), 69 ),
70 'weixinUrl' => '//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址 70 'weixinUrl' => '//mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd', // 微信关注地址
71 - 'appUrl' => '//www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址 71 + 'appUrl' => 'http://www.yohoshow.com/about/index/yohobuyqr', // APP 下载地址
72 'shareTitle' => 'YOHO!BUY有货【春潮新势力】限时积分翻倍,夯货买1赠1!唤醒潮流,从新开始!', 72 'shareTitle' => 'YOHO!BUY有货【春潮新势力】限时积分翻倍,夯货买1赠1!唤醒潮流,从新开始!',
73 'shareDesc' => '350元优惠券限时派送!Wake up!Boys and Girls!', 73 'shareDesc' => '350元优惠券限时派送!Wake up!Boys and Girls!',
74 'shareImg' => '//img02.yohoboys.com/staticimg/2016/03/03/18/028b014763283d278c6acad955a304c2a3.jpg', 74 'shareImg' => '//img02.yohoboys.com/staticimg/2016/03/03/18/028b014763283d278c6acad955a304c2a3.jpg',
@@ -366,7 +366,7 @@ class HomeModel @@ -366,7 +366,7 @@ class HomeModel
366 break; 366 break;
367 case 5: 367 case 5:
368 $result['showYohood'] = true; 368 $result['showYohood'] = true;
369 - $result['yohoodHref'] = '//yohood.cn'; 369 + $result['yohoodHref'] = 'http://yohood.cn';
370 break; 370 break;
371 default: 371 default:
372 continue; 372 continue;
@@ -34,7 +34,7 @@ class RssController extends AbstractAction @@ -34,7 +34,7 @@ class RssController extends AbstractAction
34 <generator>//m.yohobuy.com</generator> 34 <generator>//m.yohobuy.com</generator>
35 <description>Yoho!Buy有货 | 年轻人潮流购物中心</description> 35 <description>Yoho!Buy有货 | 年轻人潮流购物中心</description>
36 <atom:link href="//guang.m.yohobuy.com/rss" rel="self"></atom:link> 36 <atom:link href="//guang.m.yohobuy.com/rss" rel="self"></atom:link>
37 -<atom:link rel="hub" href="//pubsubhubbub.appspot.com"/> 37 +<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>
38 <language>zh-cn</language> 38 <language>zh-cn</language>
39 <copyright>2015 yoho.inc</copyright> 39 <copyright>2015 yoho.inc</copyright>
40 <lastBuildDate>{$time}</lastBuildDate> 40 <lastBuildDate>{$time}</lastBuildDate>
@@ -97,7 +97,7 @@ class BackController extends AbstractAction @@ -97,7 +97,7 @@ class BackController extends AbstractAction
97 97
98 // 获取到邮箱域名 98 // 获取到邮箱域名
99 list($name, $domain) = explode('@', $email); 99 list($name, $domain) = explode('@', $email);
100 - $domain_name = '//' . (($domain == 'gmail.com') ? 'mail.google.com' : 'mail.' . $domain); 100 + $domain_name = 'http://' . (($domain == 'gmail.com') ? 'mail.google.com' : 'mail.' . $domain);
101 101
102 $data = array( 102 $data = array(
103 'backUrl' => Helpers::url('/emailback.html'), 103 'backUrl' => Helpers::url('/emailback.html'),
@@ -303,7 +303,7 @@ class DetailController extends AbstractAction @@ -303,7 +303,7 @@ class DetailController extends AbstractAction
303 } 303 }
304 304
305 // APP下载链接地址 305 // APP下载链接地址
306 - $data['appSrc'] = '//a.app.qq.com/o/simple.jsp?pkgname=com.yoho'; 306 + $data['appSrc'] = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho';
307 307
308 $this->_view->display('limit', $data); 308 $this->_view->display('limit', $data);
309 } 309 }
@@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
2 2
3 use Action\WebAction; 3 use Action\WebAction;
4 use Index\HelpModel; 4 use Index\HelpModel;
5 -//use LibModels\Web\Home\HelpData;  
6 use WebPlugin\Helpers; 5 use WebPlugin\Helpers;
7 use WebPlugin\Paging; 6 use WebPlugin\Paging;
8 7
@@ -71,7 +71,7 @@ class ToolsController extends WebAction @@ -71,7 +71,7 @@ class ToolsController extends WebAction
71 $html.='</div>'; 71 $html.='</div>';
72 $html.= '<br/><div style="margin-left:100px;">生成参数接口地址: 72 $html.= '<br/><div style="margin-left:100px;">生成参数接口地址:
73 <div style="margin-top:20px;"> 73 <div style="margin-top:20px;">
74 - <textarea id="params" style="margin: 0px 0px 10px; width: 654px; height: 90px;">url=//testservice.yoho.cn:28077/operations/api/v5/resource/get&app_version=3.8.2&client_type=web&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&content_code=0c911d3000f52e8ca7cffb74f5864c29</textarea>(参数,可以传url,参数为url)</div> 74 + <textarea id="params" style="margin: 0px 0px 10px; width: 654px; height: 90px;">url=http://testservice.yoho.cn:28077/operations/api/v5/resource/get&app_version=3.8.2&client_type=web&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&content_code=0c911d3000f52e8ca7cffb74f5864c29</textarea>(参数,可以传url,参数为url)</div>
75 <div><input type="submit" id="btn" value="提交"/></div> 75 <div><input type="submit" id="btn" value="提交"/></div>
76 <br/><span id="tips"></span> 76 <br/><span id="tips"></span>
77 </div><script> 77 </div><script>
@@ -306,7 +306,7 @@ class AccountController extends WebAction @@ -306,7 +306,7 @@ class AccountController extends WebAction
306 $verifyInfo = AccountModel::auditCheckStatus($uid, $checkType); 306 $verifyInfo = AccountModel::auditCheckStatus($uid, $checkType);
307 $emailDomain = ''; 307 $emailDomain = '';
308 list($name, $domain ) = explode('@', $email); 308 list($name, $domain ) = explode('@', $email);
309 - $emailDomain = '//' . (($domain == 'gmail.com') ? 'mail.google.com' : 'mail.' . $domain); 309 + $emailDomain = 'http://' . (($domain == 'gmail.com') ? 'mail.google.com' : 'mail.' . $domain);
310 $data = array( 310 $data = array(
311 'path' => $path, 311 'path' => $path,
312 'homeNav' => $leftNav, 312 'homeNav' => $leftNav,
@@ -150,11 +150,11 @@ class BackController extends WebAction @@ -150,11 +150,11 @@ class BackController extends WebAction
150 $banner = PassportModel::getLeftBanner(PassportModel::BACK_LFFT_BANNER_CODE); 150 $banner = PassportModel::getLeftBanner(PassportModel::BACK_LFFT_BANNER_CODE);
151 $emailArr = explode('@', $email); 151 $emailArr = explode('@', $email);
152 $emailUrl = ''; //邮箱地址 152 $emailUrl = ''; //邮箱地址
153 - $emailUrls = array('yoho.cn' => '//smail.yoho.cn'); 153 + $emailUrls = array('yoho.cn' => 'http://smail.yoho.cn');
154 if (in_array($emailArr[1], $emailUrls)) { 154 if (in_array($emailArr[1], $emailUrls)) {
155 $emailUrl = $emailUrls[$emailArr[1]]; //邮箱后缀 155 $emailUrl = $emailUrls[$emailArr[1]]; //邮箱后缀
156 } else { 156 } else {
157 - $emailUrl = '//mail.' . $emailArr[1]; 157 + $emailUrl = 'http://mail.' . $emailArr[1];
158 } 158 }
159 $this->setSimpleHeader(); 159 $this->setSimpleHeader();
160 $data = array( 160 $data = array(