fix: 修复权限系统qq提取问题,新增权限问题

This commit is contained in:
lixiangwuxian
2024-10-20 03:20:37 +08:00
parent 049b5774bf
commit 6f78e3e30d
7 changed files with 148 additions and 14 deletions

View File

@@ -124,7 +124,7 @@ func GenerateCongratulationImage(text string, inputFile, outputFile string, isGo
func isImageCQ(text string) (string, bool) {
if img, err := model.ParseCQImageMessage(text); err == nil {
return img.URL, true
return img.Data.URL, true
}
return "", false
}