fix: AdapterName JSON tag 写成了 group_name → 修正为 adapter_name
This commit is contained in:
@@ -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