This commit is contained in:
richboo111
2024-01-24 17:07:01 +08:00
parent 0803f6ad12
commit a5e151cab6

View File

@@ -628,9 +628,10 @@ func CheckAndReply(req *JXMsg, elmAppID string) (err error) {
temp = LastTemplate temp = LastTemplate
} }
} }
tempStr, _ := json.Marshal(temp) //tempStr, _ := json.Marshal(temp)
tempContent := ebaiapi.Content{ tempContent := ebaiapi.Content{
Text: string(tempStr), //Text: string(tempStr),
Text: temp,
} }
tempContentStr, _ := json.Marshal(tempContent) tempContentStr, _ := json.Marshal(tempContent)
param.Payload.Content = string(tempContentStr) param.Payload.Content = string(tempContentStr)