This commit is contained in:
laodaming 2023-08-15 14:21:32 +08:00
parent f4e3834d95
commit 48cd4b2fea
2 changed files with 9 additions and 11 deletions

View File

@ -59,7 +59,6 @@ func (w *wsConnectItem) renderImage(data []byte) {
renderImageData.RenderData.Logo = "https://s3.us-west-1.amazonaws.com/storage.fusenpack.com/f5ccd11365099fa47a6316b1cd639f6dd6064dcd2d37c8d2fcd0a322160b33cc"
} else {
renderImageData.RenderData.Logo = *userMaterial.ResourceUrl
renderImageData.RenderData.UserMaterialId = userMaterial.Id
}
//用户id赋值
renderImageData.RenderData.UserId = w.userId

View File

@ -14,7 +14,6 @@ type RenderImageReqMsg struct {
type RenderData struct {
TemplateTag string `json:"template_tag"` //模板标签
ProductId int64 `json:"product_id"` //产品id
UserMaterialId int64 `json:"user_material_id"` //用户素材id
Logo string `json:"logo"` //log资源地址(websocket连接建立再赋值)
Website string `json:"website"` //网站
Slogan string `json:"slogan"` //slogan