Authored by 郭成尧

'mg-shop-page-cache'

@@ -33,7 +33,7 @@ const list = require(`${cRoot}/list`); @@ -33,7 +33,7 @@ const list = require(`${cRoot}/list`);
33 // 新品到着 controller 33 // 新品到着 controller
34 const news = require(`${cRoot}/new`); 34 const news = require(`${cRoot}/new`);
35 35
36 -//热销排行榜 36 +// 热销排行榜
37 const newsale = require(`${cRoot}/newsale`); 37 const newsale = require(`${cRoot}/newsale`);
38 38
39 // recom 39 // recom
@@ -617,9 +617,9 @@ if ($brandHeader.length > 0) { @@ -617,9 +617,9 @@ if ($brandHeader.length > 0) {
617 opt: opt, 617 opt: opt,
618 type: $brandHeader.data('isbaseshop') ? 'shop' : 'brand' 618 type: $brandHeader.data('isbaseshop') ? 'shop' : 'brand'
619 }, 619 },
620 - xhrFields: {  
621 - withCredentials: true  
622 - }, 620 + xhrFields: {
  621 + withCredentials: true
  622 +},
623 success: function(data) { 623 success: function(data) {
624 if (data.code === 200) { 624 if (data.code === 200) {
625 $this.toggleClass('coled'); 625 $this.toggleClass('coled');
@@ -944,7 +944,7 @@ $collect.on('touchstart', function() { @@ -944,7 +944,7 @@ $collect.on('touchstart', function() {
944 opt: opt, 944 opt: opt,
945 type: 'shop' 945 type: 'shop'
946 }, 946 },
947 - xhrFields: { 947 + xhrFields: {
948 withCredentials: true 948 withCredentials: true
949 }, 949 },
950 success: function(data) { 950 success: function(data) {