file: add taskqueue worker process image thumbnail
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 30s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 30s
This commit is contained in:
@ -40,3 +40,9 @@ func (s *FileServer) Delete(ctx context.Context, in *file.DeleteRequest) (*file.
|
||||
l := logic.NewDeleteLogic(ctx, s.svcCtx)
|
||||
return l.Delete(in)
|
||||
}
|
||||
|
||||
// 异步生成图片版本接口
|
||||
func (s *FileServer) GenerateImageVersions(ctx context.Context, in *file.GenerateImageVersionsRequest) (*file.GenerateImageVersionsResponse, error) {
|
||||
l := logic.NewGenerateImageVersionsLogic(ctx, s.svcCtx)
|
||||
return l.GenerateImageVersions(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user