Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | }); |
-
Please register or login to post a comment