Commit 7cd507f1 by 1808837298@qq.com

fix: 修复自定义聊天bug

(cherry picked from commit 8d41c17ccf19cb29100dbe506d3d42a6be822ff9)
parent 824714e5
......@@ -21,6 +21,7 @@ var Chats = []map[string]string{
}
func UpdateChatsByJsonString(jsonString string) error {
Chats = make([]map[string]string, 0)
return json.Unmarshal([]byte(jsonString), &Chats)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment