fix
This commit is contained in:
parent
d1313fca0c
commit
2a1ceded61
|
@ -145,10 +145,10 @@ func (w *wsConnectItem) consumeRenderImageData() {
|
|||
|
||||
// 执行渲染任务
|
||||
func (w *wsConnectItem) renderImage(renderImageData websocket_data.RenderImageReqMsg) {
|
||||
if renderImageData.RenderData.Logo == "" {
|
||||
/* if renderImageData.RenderData.Logo == "" {
|
||||
w.renderErrResponse(renderImageData.RenderId, renderImageData.RequestId, renderImageData.RenderData.TemplateTag, "", "请传入logo", renderImageData.RenderData.ProductId, w.userId, w.guestId, 0, 0, 0, 0)
|
||||
return
|
||||
}
|
||||
}*/
|
||||
if !strings.Contains(renderImageData.RenderData.Logo, "storage.fusenpack.com") {
|
||||
w.renderErrResponse(renderImageData.RenderId, 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