|
发表于 2021-5-1 01:00:15
|
显示全部楼层
大佬求指点,按你的教程替换了API,现在的情况是世纪互联正常,但国际版初始化出错,提示如下:
2021/05/01 00:55:11 Key path not found
panic: Key path not found
goroutine 1 [running]:
log.Panicln(0xc0005bf7e0, 0x1, 0x1)
c:/go/src/log/log.go:368 +0xb7
main/graph/net/http.getAccessToken(0xc000114380, 0x346, 0x0, 0xc000018108, 0x5, 0x0, 0x0)
D:/Users/Administrator/Desktop/LightUploader-main/graph/net/http/OAuth2.go:136 +0xa7c
main/graph/net/http.NewPassCheck(0xc000114380, 0x346, 0x0, 0xc000018108, 0x5, 0x0, 0x0)
D:/Users/Administrator/Desktop/LightUploader-main/graph/net/http/OAuth2.go:42 +0xa5
main.ApplyForNewPass(0xc000114380, 0x346, 0x0, 0x3a, 0x0)
D:/Users/Administrator/Desktop/LightUploader-main/main.go:32 +0x108
main.main()
D:/Users/Administrator/Desktop/LightUploader-main/main.go:404 +0xbe5
获取授权的操作是正确的,替换了id才获取的授权,其它问题不知道出在那里,求指点. |
|