feat(session): 重构会话管理和Redis缓存机制

This commit is contained in:
2026-06-09 14:00:00 +08:00
parent e5781aca06
commit e906248b0a
2 changed files with 3 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ func ParseAndValidate(raw map[string]any, model *entity.AsynchModel) (map[string
if !ok {
return raw, fmt.Errorf("字段 %s 不存在", model.ResponseBody)
}
fmt.Println("model.ResponseBody打印", model.ResponseBody)
contentStr, ok := contentVal.(string)
if !ok || strings.TrimSpace(contentStr) == "" {
return raw, fmt.Errorf("字段 %s 为空或不是字符串", model.ResponseBody)