Merge branch 'sxy' into dev
This commit is contained in:
commit
cf62d51d06
@ -2,21 +2,22 @@ package logic
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
"github.com/exhibition-main/internal/model"
|
||||
"github.com/exhibition-main/pkg/utils"
|
||||
"image"
|
||||
"math"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
"github.com/exhibition-main/internal/model"
|
||||
"github.com/exhibition-main/pkg/utils"
|
||||
)
|
||||
|
||||
func DealExcelImg(filePath string) (err error) {
|
||||
f, err := excelize.OpenFile(filePath)
|
||||
filename := filepath.Base(filePath)
|
||||
var cellHeight, cellWidth float64 = 150, 40
|
||||
|
||||
// var cellHeight, cellWidth float64 = 150, 40
|
||||
var cellHeight, cellWidth float64 = 100, 20
|
||||
//minColumn := int([]byte("A")[0])
|
||||
// string(rune(i))
|
||||
rows := f.GetRows("Sheet1")
|
||||
|
Loading…
Reference in New Issue
Block a user