Authored by yyq

fix jsonp url

... ... @@ -40,7 +40,7 @@ function actionSubscription() {
if (email !== '' && emailReg.test(email)) {
try {
$.ajax({
url: '//new.yohobuy.com/common/emailsubscriber',
url: '//www.yohobuy.com/common/emailsubscriber',
dataType: 'jsonp',
data: {
email: email,
... ...
... ... @@ -235,7 +235,7 @@ function getBannerAndNotice() {
code = bannerMap[UNIQUEBRAND + cookieMap._Channel];
}
$.getJSON('//new.yohobuy.com/common/getbanner?callback=?', {
$.getJSON('//www.yohobuy.com/common/getbanner?callback=?', {
client_type: 'web',
content_code: code
}, function(JsonData) {
... ... @@ -790,7 +790,7 @@ $subNav.on({
param.width = 337;
param.height = 250;
param._ = new Date();
$.getJSON('//new.yohobuy.com/common/getbanner?callback=?', param, function(JsonData) {
$.getJSON('//www.yohobuy.com/common/getbanner?callback=?', param, function(JsonData) {
if (JsonData.code === 200) {
$show.addClass('show');
$show.find('img').attr('src', JsonData.data.src);
... ... @@ -966,7 +966,7 @@ function searchSuggestHistory() {
$searchKey.attr('alt', false);
}
$.getJSON('//search.yohobuy.com/product/search/history?callback=?', param, function(jsonData) {
$.getJSON('//www.yohobuy.com/product/search/history?callback=?', param, function(jsonData) {
if ($searchKey.val() === '') {
... ...