Showing
1 changed file
with
2 additions
and
0 deletions
@@ -398,6 +398,8 @@ if ($brandHeader.length > 0) { | @@ -398,6 +398,8 @@ if ($brandHeader.length > 0) { | ||
398 | success: function(data) { | 398 | success: function(data) { |
399 | if (data.code === 200) { | 399 | if (data.code === 200) { |
400 | $this.toggleClass('coled'); | 400 | $this.toggleClass('coled'); |
401 | + } else if (data.code === 400 || data.code === 412) { | ||
402 | + tip.show('未登录'); | ||
401 | } else { | 403 | } else { |
402 | tip.show(data.message); | 404 | tip.show(data.message); |
403 | } | 405 | } |
-
Please register or login to post a comment