Showing
1 changed file
with
4 additions
and
2 deletions
@@ -748,7 +748,8 @@ function viewSeckillProduct(products, dom) { | @@ -748,7 +748,8 @@ function viewSeckillProduct(products, dom) { | ||
748 | 748 | ||
749 | function loadSeckillList() { | 749 | function loadSeckillList() { |
750 | $.ajax({ | 750 | $.ajax({ |
751 | - url: '/product/seckill/list' | 751 | + url: '//m.yohobuy.com/product/seckill/list', |
752 | + dataType: 'jsonp' | ||
752 | }).then(function(result) { | 753 | }).then(function(result) { |
753 | let dateList = []; | 754 | let dateList = []; |
754 | 755 | ||
@@ -799,7 +800,8 @@ function seckillInit() { | @@ -799,7 +800,8 @@ function seckillInit() { | ||
799 | }); | 800 | }); |
800 | 801 | ||
801 | $.ajax({ | 802 | $.ajax({ |
802 | - url: '/product/seckill/get-product-list', | 803 | + url: '//m.yohobuy.com/product/seckill/get-product-list', |
804 | + dataType: 'jsonp', | ||
803 | data: { | 805 | data: { |
804 | activityId: $(this).data('id'), | 806 | activityId: $(this).data('id'), |
805 | startTime: $(this).data('time') | 807 | startTime: $(this).data('time') |
-
Please register or login to post a comment