...
|
...
|
@@ -10,6 +10,12 @@ $(document).ajaxError((event, xhr) => { |
|
|
} else if (xhr.responseJSON.message) {
|
|
|
new Alert(xhr.responseJSON.message).show();
|
|
|
}
|
|
|
} else if (xhr.status === 403 && xhr.responseJSON.code === 4403) {
|
|
|
new Alert(xhr.responseJSON.message).show();
|
|
|
|
|
|
setTimeout(function() {
|
|
|
window.location.href = `${xhr.responseJSON.data.url}&refer=${encodeURIComponent(window.location.href)}`;
|
|
|
}, 2000);
|
|
|
}
|
|
|
}
|
|
|
}); |
...
|
...
|
|