feat: update ali oss client

This commit is contained in:
yanghao05
2025-04-17 19:56:35 +08:00
parent 0d0887b4fb
commit 1ca75b6060
11 changed files with 133 additions and 295 deletions

View File

@@ -69,12 +69,12 @@ func Provide(opts ...opt.Option) error {
return err
}
if err := container.Container.Provide(func(
ali *ali.Config,
app *app.Config,
oss *ali.OSSClient,
) (*uploads, error) {
obj := &uploads{
ali: ali,
app: app,
oss: oss,
}
return obj, nil