|
@@ -69,6 +69,7 @@ const Oauth = () => {
|
|
|
const res = await Service.getOAuth2(params || data);
|
|
const res = await Service.getOAuth2(params || data);
|
|
|
if (res.status === 200) {
|
|
if (res.status === 200) {
|
|
|
window.location.href = res.result;
|
|
window.location.href = res.result;
|
|
|
|
|
+ console.log(res.result);
|
|
|
} else {
|
|
} else {
|
|
|
getCode();
|
|
getCode();
|
|
|
}
|
|
}
|