Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
bbf7c06bd4
|
@ -116,6 +116,7 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
|||
},
|
||||
ProductTemplateTagGroups: req.TemplateTagGroups,
|
||||
ProductTemplateV2Info: productTemplateV2Info,
|
||||
Debug: userinfo.Debug,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
@ -127,7 +128,5 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
|||
"resource_id": res.ResourceId,
|
||||
"resource_url": res.ResourceUrl,
|
||||
"resource_metadata": "",
|
||||
"diff_time_logo_combine": res.DiffTimeLogoCombine,
|
||||
"diff_time_upload_file": res.DiffTimeUploadFile,
|
||||
})
|
||||
}).WithDebug(res.DebugData)
|
||||
}
|
||||
|
|
|
@ -134,8 +134,6 @@ type (
|
|||
ResourceId string
|
||||
ResourceUrl *string
|
||||
Metadata *string
|
||||
DiffTimeLogoCombine int64
|
||||
DiffTimeUploadFile int64
|
||||
DebugData *auth.DebugData `json:"debug_data"`
|
||||
}
|
||||
)
|
||||
|
@ -314,9 +312,6 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
|||
|
||||
resp.ResourceId = uploadRes.ResourceId
|
||||
resp.ResourceUrl = &uploadRes.ResourceUrl
|
||||
resp.DiffTimeLogoCombine = diffTimeLogoCombine
|
||||
resp.DiffTimeUploadFile = diffTimeUploadFile
|
||||
|
||||
if in.Debug != nil {
|
||||
resp.DebugData = &auth.DebugData{
|
||||
DiffTimeLogoCombine: diffTimeLogoCombine,
|
||||
|
|
Loading…
Reference in New Issue
Block a user