This commit is contained in:
parent
287c51fed2
commit
40acf7919e
|
|
@ -3,7 +3,7 @@ function success(data,textStatus, jqXhr){
|
||||||
if(data.code==201){
|
if(data.code==201){
|
||||||
console.log(data.msg)
|
console.log(data.msg)
|
||||||
}else if(data.code==401){
|
}else if(data.code==401){
|
||||||
window.location.href = LOGIN_PATH;
|
window.location.href = login_url;
|
||||||
}
|
}
|
||||||
// console.log("数据调用成功")
|
// console.log("数据调用成功")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue