feat(session): 重构会话管理和Redis缓存机制
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user