微软第三方登录问题
This commit is contained in:
parent
2e4c2f801e
commit
a1d9cc41fc
|
|
@ -892,6 +892,7 @@ func handleThirdPartyCallback(c *gin.Context) {
|
||||||
log.Println("state is empty,stateID=", stateID)
|
log.Println("state is empty,stateID=", stateID)
|
||||||
} else {
|
} else {
|
||||||
//json解析
|
//json解析
|
||||||
|
log.Println("stateStr:", stateStr, "\tcode:", code)
|
||||||
var state proto.ThirdPartyLoginState
|
var state proto.ThirdPartyLoginState
|
||||||
err := json.Unmarshal([]byte(stateStr), &state)
|
err := json.Unmarshal([]byte(stateStr), &state)
|
||||||
log.Println("handle callback state:", stateStr, "\tcode:", code)
|
log.Println("handle callback state:", stateStr, "\tcode:", code)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue