Просмотр исходного кода

fix:兼容前端传递的数据类型

Roc 2 лет назад
Родитель
Сommit
c961a54e18
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/excel/lucky_sheet.go

+ 1 - 1
services/excel/lucky_sheet.go

@@ -96,7 +96,7 @@ type LuckySheetDataBak struct {
 	Status            int64   `json:"status" description:""`
 	Visibledatacolumn []int64 `json:"visibledatacolumn" description:""`
 	Visibledatarow    []int64 `json:"visibledatarow" description:""`
-	ZoomRatio         int64   `json:"zoomRatio" description:""`
+	ZoomRatio         float64 `json:"zoomRatio" description:"sheet缩放比例"`
 }
 
 // LuckySheetData sheet表格数据