Authored by 毕凯

Merge remote-tracking branch 'origin/feature/shopEntry' into gray

@@ -201,6 +201,9 @@ class ProductListWithFilter { @@ -201,6 +201,9 @@ class ProductListWithFilter {
201 type: 'GET', 201 type: 'GET',
202 url: this.filterUrl, 202 url: this.filterUrl,
203 data: this.filterParams, 203 data: this.filterParams,
  204 + xhrFields: {
  205 + withCredentials: true
  206 + },
204 success: (data) => { 207 success: (data) => {
205 if (!data) { 208 if (!data) {
206 return false; 209 return false;
@@ -109,6 +109,9 @@ let defaultOpt = require('common/query-param'); @@ -109,6 +109,9 @@ let defaultOpt = require('common/query-param');
109 order: '0', 109 order: '0',
110 channel: defaultOpt.channel 110 channel: defaultOpt.channel
111 }, 111 },
  112 + xhrFields: {
  113 + withCredentials: true
  114 + },
112 success: function(data) { 115 success: function(data) {
113 $('.shop-index').after(data); 116 $('.shop-index').after(data);
114 117
@@ -578,6 +578,9 @@ $.ajax({ @@ -578,6 +578,9 @@ $.ajax({
578 type: 'GET', 578 type: 'GET',
579 url: location.protocol + '//m.yohobuy.com/product/search/filter', 579 url: location.protocol + '//m.yohobuy.com/product/search/filter',
580 data: defaultOpt, 580 data: defaultOpt,
  581 + xhrFields: {
  582 + withCredentials: true
  583 + },
581 success: function(data) { 584 success: function(data) {
582 $goodsContainer.append(data); 585 $goodsContainer.append(data);
583 586