🎨 rename UnmarshalString

This commit is contained in:
Akiba
2022-08-10 17:41:09 +08:00
parent 4cbe8ff06e
commit b7f82e88cf
5 changed files with 6 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ type SuperChat struct {
func (s *SuperChat) Parse(data []byte) {
sb := utils.BytesToString(data)
sd := gjson.Get(sb, "data").String()
err := utils.UnmarshalString(sd, s)
err := utils.UnmarshalStr(sd, s)
if err != nil {
log.Error("parse superchat failed")
}