@@ -105,9 +105,10 @@
}
})
- req.then(data => {
- console.log(data)
- location.href = data.data;
+ req.then(res => {
+ if(res.code == 0){
+ location.href = res.data;
+ }