fix
This commit is contained in:
parent
cbe4e8503d
commit
209073d08a
|
@ -140,6 +140,11 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
|
||||
// 执行渲染任务
|
||||
func (w *wsConnectItem) renderImage(renderImageData websocket_data.RenderImageReqMsg) {
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
logx.Error("render image panic!!!!!!")
|
||||
}
|
||||
}()
|
||||
if renderImageData.RenderData.Logo == "" {
|
||||
w.renderErrResponse(renderImageData.RequestId, renderImageData.RenderData.TemplateTag, "", "请传入logo", renderImageData.RenderData.ProductId, w.userId, w.guestId, 0, 0, 0, 0)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user