fix: AdapterName JSON tag 写成了 group_name → 修正为 adapter_name
This commit is contained in:
1 parent
42793f9bba
commit
39d62559ea
1 file changed
+2
-2
@@ -925,8 +925,8 @@ func handleChat(
|
||||
SenderName string `json:"sender_name"`
|
||||
OriginalUID string `json:"original_uid"`
|
||||
BotUID string `json:"bot_uid"`
|
||||
GroupName string
|
||||
AdapterName string `json:"group_name,omitempty"`
|
||||
GroupName string `json:"group_name,omitempty"`
|
||||
AdapterName string `json:"adapter_name,omitempty"`
|
||||
} `json:"source,omitempty"`
|
||||
}
|
||||
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
|
||||
|
||||
Reference in new issue
Block a user