fix: gofmt 格式化 5 个文件 - 修复 golangci-lint 错误

This commit is contained in:
2026-04-20 07:40:06 +08:00
parent 1f8f839a1b
commit 93958adeff
5 changed files with 15 additions and 21 deletions
+3 -3
View File
@@ -176,9 +176,9 @@ func (api PortalApi) CreateSessionEndpoint(c echo.Context) error {
}
return Success(c, maps.Map{
"id": s.ID,
"protocol": s.Protocol,
"assetName": assetName,
"id": s.ID,
"protocol": s.Protocol,
"assetName": assetName,
"strategy": maps.Map{
"upload": s.Upload == "1",
"download": s.Download == "1",