Compare commits

...

2 Commits

Author SHA1 Message Date
clz
1786380542 to: upload excel 2023-06-12 20:17:19 +08:00
clz
5b02d4c5f7 to: add todo 2023-06-12 20:17:08 +08:00
2 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,8 @@ import (
"github.com/gofiber/fiber/v2"
)
// TODO: 日期传输是使用时间戳,存储时分开年月日
type BillHandler struct {
billService BillService
}

11
scripts/uploadExcel.py Normal file
View File

@ -0,0 +1,11 @@
import pandas as pd
excel_file_path = 'scripts/bill.xlsx'
data = pd.read_excel(excel_file_path)
data = data.loc[:, ["date", "money","label", "options", "type"]]
data = data.fillna("")
print(data)