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