修复 MinIO 端口冲突并优化顶栏 IP 展示

- MinIO 宿主机端口改为 9100/9101,避免与 hfb-minio 冲突
- 测试与配置默认 PublicBase 同步为 9100
- 工作台顶栏固定展示 IP|地区,详情回填会话元数据
- 种子数据补充访客 IP/地区示例
This commit is contained in:
yml2213
2026-07-15 12:39:39 +08:00
parent ec2f12c6ed
commit 32d88f42e7
8 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func (s *S3Storage) Delete(ctx context.Context, key string) error {
func (s *S3Storage) PublicBase() string { return s.base }
func (s *S3Storage) objectURL(key string) string {
// PublicBase 形如 http://localhost:9000/kefu
// PublicBase 形如 http://localhost:9100/kefu(宿主机映射端口)
return s.base + "/" + strings.TrimPrefix(key, "/")
}