Closed wfjsw closed 2 years ago
1.0.0-rc2
Linux
AMD64
WebSocket (反向)
0 | iPad
-
panic: interface conversion: interface {} is *cmd0x388.D388TryUpImgRsp, not *client.imageUploadResponse goroutine 417 [running]: ithub.com/Mrs4s/MiraiGo/client.(*QQClient).uploadGroupOrGuildImage(0xc0001c4000, {0xa?, 0x928e80?, 0xba6f90?}, {0xba6f90, 0xc00000f770> github.com/Mrs4s/MiraiGo@v0.0.0-20220605085305-ae33763fe10a/client/image.go:105 +0xf37 github.com/Mrs4s/MiraiGo/client.(*QQClient).UploadImage(0xba6f90?, {0x70?, 0x0?, 0xc00003d680?}, {0xba6f90?, 0xc00000f770?}, {0xc000381> github.com/Mrs4s/MiraiGo@v0.0.0-20220605085305-ae33763fe10a/client/image.go:49 +0x7b github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).uploadLocalImage(0xc0001cb280, {0x0?, 0x40571d?, 0xc00006ca20?}, 0xc000084640) github.com/Mrs4s/go-cqhttp/coolq/bot.go:159 +0x165 github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).uploadMedia.func1() github.com/Mrs4s/go-cqhttp/coolq/bot.go:219 +0x56 github.com/Mrs4s/go-cqhttp/coolq.(*worker).do.func1() github.com/Mrs4s/go-cqhttp/coolq/bot.go:137 +0x5a created by github.com/Mrs4s/go-cqhttp/coolq.(*worker).do github.com/Mrs4s/go-cqhttp/coolq/bot.go:135 +0x85
No response
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
1.0.0-rc2
运行环境
Linux
运行架构
AMD64
连接方式
WebSocket (反向)
使用协议
0 | iPad
重现步骤
-
期望的结果是什么?
-
实际的结果是什么?
简单的复现代码/链接(可选)
No response
日志记录(可选)
No response
补充说明(可选)
No response