feat: update jobs

This commit is contained in:
yanghao05
2025-04-22 20:01:50 +08:00
parent 163a7c11fe
commit 707cbbb639
21 changed files with 359 additions and 87 deletions

View File

@@ -77,7 +77,7 @@ func (c *OSSClient) Delete(ctx context.Context, path string) error {
func (c *OSSClient) Upload(ctx context.Context, input, dst string) error {
request := &oss.PutObjectRequest{
Bucket: oss.Ptr(c.config.Bucket),
Key: oss.Ptr(c.GetSavePath(dst)),
Key: oss.Ptr(dst),
}
if _, err := c.internalClient.PutObjectFromFile(ctx, request, input); err != nil {