Authored by yyq

修改商品收藏登录状态判断

@@ -297,7 +297,7 @@ $('#collect-product').click(function() { @@ -297,7 +297,7 @@ $('#collect-product').click(function() {
297 }).then(function(data) { 297 }).then(function(data) {
298 if (data.code === 200) { 298 if (data.code === 200) {
299 $this.toggleClass('coll'); 299 $this.toggleClass('coll');
300 - } else if (data.code === 403) { 300 + } else if (data.code === 400) {
301 location.href = data.data.refer; 301 location.href = data.data.refer;
302 } 302 }
303 }); 303 });