Authored by lore-w

商品悬浮效果ajax改为jsonp code review by chenglong

@@ -97,8 +97,9 @@ exports.init = function(num) { @@ -97,8 +97,9 @@ exports.init = function(num) {
97 97
98 $.ajax({ 98 $.ajax({
99 type: 'POST', 99 type: 'POST',
100 - url: '/product/list/getProductPic',  
101 - dataType: 'json', 100 + url: 'http://list.yohobuy.com/product/list/getProductPic',
  101 + dataType: 'jsonp',
  102 + jsonp: 'callback',
102 data: { 103 data: {
103 skn: event.target.attr('data-skn') 104 skn: event.target.attr('data-skn')
104 } 105 }