浏览代码

fix:excel表格兼容优化

Roc 2 年之前
父节点
当前提交
73858f5d93
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      services/excel/lucky_sheet.go

+ 7 - 7
services/excel/lucky_sheet.go

@@ -214,13 +214,13 @@ type LuckySheetDataCellType struct {
 		CancelLine     int         ` description:"删除线,	0 常规 、 1 删除线"`
 		HorizontalType int         `description:"水平对齐,	0 居中、1 左、2右"`
 		VerticalType   int         `description:"垂直对齐,	0 中间、1 上、2下"`
-		Fs             int         `json:"fs" description:"字体大小,14"`
-		Cl             int         `json:"cl" description:"删除线,	0 常规 、 1 删除线"`
-		Ht             int         `json:"ht" description:"水平对齐,	0 居中、1 左、2右"`
-		Vt             int         `json:"vt" description:"垂直对齐,	0 中间、1 上、2下"`
-		Un             int         `json:"un" description:""`
-		Bold           int         `json:"bl" description:"粗体,0 常规 、 1加粗	"`
-		Italic         int         `json:"it" description:"斜体,0 常规 、 1 斜体"`
+		Fs             interface{} `json:"fs" description:"字体大小,14"`
+		Cl             interface{} `json:"cl" description:"删除线,	0 常规 、 1 删除线"`
+		Ht             interface{} `json:"ht" description:"水平对齐,	0 居中、1 左、2右"`
+		Vt             interface{} `json:"vt" description:"垂直对齐,	0 中间、1 上、2下"`
+		Un             interface{} `json:"un" description:""`
+		Bold           interface{} `json:"bl" description:"粗体,0 常规 、 1加粗	"`
+		Italic         interface{} `json:"it" description:"斜体,0 常规 、 1 斜体"`
 		Value          interface{} `json:"v" description:"原始值"`
 	} `json:"s"`
 }