From 1230eaf255276368cdd95b04c2278b6391ef3838 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 28 Aug 2023 10:54:18 +0800 Subject: [PATCH] 11 --- utils/websocket_data/render_data.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/websocket_data/render_data.go b/utils/websocket_data/render_data.go index ae97a9d6..e6ddfb93 100644 --- a/utils/websocket_data/render_data.go +++ b/utils/websocket_data/render_data.go @@ -17,6 +17,7 @@ type RenderData struct { TemplateTag string `json:"template_tag"` //模板标签(必须) ProductId int64 `json:"product_id"` //产品id(必须) Website string `json:"website"` //网站(可选) + Slogan string `json:"slogan"` //slogan(可选) Address string `json:"address"` //地址(可选) Phone string `json:"phone"` //电话(可选) UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)