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)

View File

@@ -50,14 +50,14 @@ database:
redis:
default:
address: 116.204.74.41:6379
address: 192.168.3.30:6379
db: 0
consul:
address: 116.204.74.41:8500
address: 192.168.3.30:8500
jaeger:
addr: 116.204.74.41:4318
addr: 192.168.3.30:4318
# 本地调试用:可选自动执行 worker/cleaner默认关闭
asynch: