fix
This commit is contained in:
parent
76fecbde7e
commit
3b757b0dab
|
@ -68,7 +68,6 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
|
|||
logx.Error("invalid format of websocket render image message", err)
|
||||
return
|
||||
}
|
||||
logx.Info("收到请求云渲染图片数据:", renderImageData)
|
||||
if renderImageData.RenderId == "" {
|
||||
w.sendToOutChan(w.respondDataFormat(constants.WEBSOCKET_ERR_DATA_FORMAT, "invalid format of websocket render image message:render_id is empty"))
|
||||
logx.Error("invalid format of websocket render image message:render_id is empty")
|
||||
|
@ -84,6 +83,7 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
|
|||
logx.Error("invalid format of websocket render image message:template_tag")
|
||||
return
|
||||
}
|
||||
logx.Info("##########################begin##############################")
|
||||
//获取上传最近的logo
|
||||
userMaterial, err := w.logic.svcCtx.AllModels.FsUserMaterial.FindLatestOne(w.logic.ctx, w.userId, w.guestId)
|
||||
if err != nil {
|
||||
|
@ -107,6 +107,7 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
|
|||
} else {
|
||||
renderImageData.RenderData.Logo = *userMaterial.ResourceUrl
|
||||
}
|
||||
logx.Info("##########################end##############################")
|
||||
//用户id赋值
|
||||
renderImageData.RenderData.UserId = w.userId
|
||||
renderImageData.RenderData.GuestId = w.guestId
|
||||
|
|
Loading…
Reference in New Issue
Block a user