Private
Public Access
1
0

新增: 云OSS存储集成(七牛云+阿里云)+多桶导航+GBK编码自动转换

This commit is contained in:
2026-05-05 03:18:47 +08:00
parent eb5b85e007
commit b4f4b4627d
34 changed files with 5225 additions and 48 deletions

View File

@@ -102,7 +102,7 @@ func (s *Service) ReadFile(connID string, filePath string) (string, error) {
if err != nil {
return "", fmt.Errorf("读取文件失败: %w", err)
}
return string(data), nil
return filesystem.BytesToString(data), nil
}
func (s *Service) WriteFile(connID string, filePath string, content string) error {