|
|
@ -14,7 +14,7 @@ class Otherloginqq extends Component {
|
|
|
|
let codeurl = `/auth/qq/callback`;
|
|
|
|
let codeurl = `/auth/qq/callback`;
|
|
|
|
axios.get(codeurl,{params:{
|
|
|
|
axios.get(codeurl,{params:{
|
|
|
|
code:type[1],
|
|
|
|
code:type[1],
|
|
|
|
redirect_uri:`https://test-newweb.educoder.net/otherloginqq`
|
|
|
|
redirect_uri:`https://${window.location.host}/otherloginqq`
|
|
|
|
}}).then((result)=> {
|
|
|
|
}}).then((result)=> {
|
|
|
|
if(result){
|
|
|
|
if(result){
|
|
|
|
if(result.data.status===0){
|
|
|
|
if(result.data.status===0){
|
|
|
|