添加购物车新增灯光信息保存

This commit is contained in:
laodaming
2023-09-20 10:31:36 +08:00
parent 78558bb74d
commit 86c39263be
4 changed files with 33 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ type CartSnapshot struct {
SizeInfo SizeInfo `json:"size_info"` //尺寸基本信息
ProductInfo ProductInfo `json:"product_info"` //产品基本信息(只记录不要使用)
UserDiyInformation UserDiyInformation `json:"user_diy_information"` //用户diy数据
LightInfo LightInfo `json:"light_info"` //灯光数据
}
type ProductInfo struct {
ProductName string `json:"product_name"`
@@ -39,3 +40,7 @@ type UserDiyInformation struct {
Qrcode string `json:"qrcode"` //二维码
Slogan string `json:"slogan"` //slogan
}
type LightInfo struct {
LightJson string `json:"light_json"` //灯光设计json数据
LightName string `json:"light_name"` //名称
}