fix:上传logo--debug模式
This commit is contained in:
parent
2594714709
commit
4a3d12c926
|
@ -244,7 +244,14 @@ func (l *UploadLogoDebugLogic) UploadLogoDebug(req *types.UploadLogoDebugReq, us
|
|||
})
|
||||
}
|
||||
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", list)
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", map[string]interface{}{
|
||||
"upload_data": UploadUrl{
|
||||
Status: 1,
|
||||
ResourceId: uploadRes.ResourceId,
|
||||
ResourceUrl: uploadRes.ResourceUrl,
|
||||
},
|
||||
"tag_data": list,
|
||||
})
|
||||
}
|
||||
|
||||
// 处理逻辑后 w,r 如:重定向, resp 必须重新处理
|
||||
|
|
Loading…
Reference in New Issue
Block a user