aiweek-reconstruction/udesk/reply/base.go

28 lines
443 B
Go
Raw Permalink Normal View History

2024-05-18 01:46:35 +08:00
package reply
import "time"
//定义回复结构体。
type Reply struct {
replyContent map[string][]string
}
type Excel struct {
ExcelName string
ExcelPath string
ExcelAddress string
Reply //继承回复
}
var ExcelName = "weeklyReport" + time.Now().Format("2006-01-02") + ".xlsx"
// 创建新的回复结构体对象。
func NewExcelObj() *Excel {
return &Excel{
ExcelName: ExcelName,
ExcelAddress: "",
}
}