From 4bc0d8584e8d4645e887e748ea18a586cb64f6e3 Mon Sep 17 00:00:00 2001 From: Syd Xu Date: Wed, 17 Aug 2022 15:36:11 +0800 Subject: [PATCH] fix(tools/site): BorderWidth in ButtonBrick is float --- marketing-api/model/tools/site/button_brick.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marketing-api/model/tools/site/button_brick.go b/marketing-api/model/tools/site/button_brick.go index 8befa20b..f5e8c89c 100644 --- a/marketing-api/model/tools/site/button_brick.go +++ b/marketing-api/model/tools/site/button_brick.go @@ -52,7 +52,7 @@ type ButtonBrick struct { // BorderColor 边框颜色信息,比如“rgba(255,255,255,1)”,默认为无 BorderColor string `json:"border_color,omitempty"` // BorderWidth 边框粗细,默认0 - BorderWidth int `json:"border_width,omitempty"` + BorderWidth float64 `json:"border_width,omitempty"` // BorderRadius 边框圆角,默认为0,范围:radius >= 0 BorderRadius float64 `json:"border_radius,omitempty"` // Events 事件列表信息