This commit is contained in:
laodaming 2023-08-29 17:09:00 +08:00
parent 6ede8daee6
commit 64b25e4bce
2 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
Slogan: renderImageData.RenderData.Slogan, Slogan: renderImageData.RenderData.Slogan,
Address: renderImageData.RenderData.Address, Address: renderImageData.RenderData.Address,
Phone: renderImageData.RenderData.Phone, Phone: renderImageData.RenderData.Phone,
Qrcode: renderImageData.RenderData.Qrcode,
} }
res, err := w.logic.svcCtx.Repositories.ImageHandle.LogoCombine(w.logic.ctx, &combineReq) res, err := w.logic.svcCtx.Repositories.ImageHandle.LogoCombine(w.logic.ctx, &combineReq)
if err != nil { if err != nil {

View File

@ -20,6 +20,7 @@ type RenderData struct {
Slogan string `json:"slogan"` //slogan(可选) Slogan string `json:"slogan"` //slogan(可选)
Address string `json:"address"` //地址(可选) Address string `json:"address"` //地址(可选)
Phone string `json:"phone"` //电话(可选) Phone string `json:"phone"` //电话(可选)
Qrcode string `json:"qrcode"` //二维码(可选)
SizeId int64 `json:"size_id"` //尺寸id(可选,传值大于0则值返回刀版图不参与unity云渲染) SizeId int64 `json:"size_id"` //尺寸id(可选,传值大于0则值返回刀版图不参与unity云渲染)
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值) UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值) GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)