feat:合图调整返回

This commit is contained in:
momo 2023-10-20 14:31:47 +08:00
parent 441faaa104
commit 132312ea06

View File

@ -138,9 +138,11 @@ type (
Debug *auth.Debug `json:"debug"`
}
LogoCombineRes struct {
ResourceId string
ResourceUrl *string
Metadata *string
ResourceId string `json:"resource_id"`
ResourceUrl *string `json:"resource_url"`
ResourceCache int64 `json:"resource_cache"`
Metadata *string `json:"metadata"`
DebugData *auth.DebugData `json:"debug_data"`
}
)
@ -178,6 +180,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
return &LogoCombineRes{
ResourceId: resourceId,
ResourceUrl: resourceInfo.ResourceUrl,
ResourceCache: 1,
}, nil
}
} else {