소스 검색

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

Roc 2 년 전
부모
커밋
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表格数据