refactor: 移除不必要的上下文调用,简化服务方法参数

This commit is contained in:
2025-12-30 22:14:22 +08:00
parent c8f6cb0b34
commit e5064db577
12 changed files with 67 additions and 67 deletions

View File

@@ -30,5 +30,5 @@ func (c *Common) Upload(ctx fiber.Ctx, file *multipart.FileHeader, typeArg *stri
if typeArg != nil {
val = *typeArg
}
return services.Common.Upload(ctx.Context(), file, val)
return services.Common.Upload(ctx, file, val)
}