From 91cb0607e326098231d3abc1b206de44b5b773bb Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 7 Jul 2023 11:36:00 +0800 Subject: [PATCH] fix: content update --- pkg/apistruct/msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apistruct/msg.go b/pkg/apistruct/msg.go index 042d760b8..dea73cf74 100644 --- a/pkg/apistruct/msg.go +++ b/pkg/apistruct/msg.go @@ -171,7 +171,7 @@ type CustomElem struct { Extension string `mapstructure:"extension"` } type TextElem struct { - Text string `mapstructure:"text" validate:"required"` + Content string `mapstructure:"content" validate:"required"` } type RevokeElem struct {