修改
This commit is contained in:
parent
fb62be1f46
commit
e073be30a1
@ -15,8 +15,6 @@ func WriteToExcel(dirPath string, orderInfos [][]interface{}) (string, error) {
|
|||||||
xlsx := excelize.NewFile()
|
xlsx := excelize.NewFile()
|
||||||
index := "Sheet1"
|
index := "Sheet1"
|
||||||
|
|
||||||
xlsx.MergeCell("Sheet1", "A1", "H1")
|
|
||||||
|
|
||||||
style, _ := xlsx.NewStyle(`{"alignment":{
|
style, _ := xlsx.NewStyle(`{"alignment":{
|
||||||
"horizontal":"center"
|
"horizontal":"center"
|
||||||
}}`)
|
}}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user