Authored by 郭成尧

add-to-cart

@@ -87,7 +87,10 @@ let functions = { @@ -87,7 +87,10 @@ let functions = {
87 productSku: sku, 87 productSku: sku,
88 new_product_skn: skn, 88 new_product_skn: skn,
89 buyNumber: buyNum 89 buyNumber: buyNum
90 - } 90 + },
  91 + xhrFields: {
  92 + withCredentials: true
  93 + },
91 }).done(function(res) { 94 }).done(function(res) {
92 let cartNum; 95 let cartNum;
93 96