摘要: email 模块 func SendMail(i int, err error) { e := email.NewEmail() e.From = "zj <896829948@qq.com>" e.To = []string{"13864264702@163.com"} e.Subject = " 阅读全文
posted @ 2020-03-20 16:28 眼镜儿 阅读(287) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "github.com/astaxie/beego/toolbox" "time" ) func task() error { fmt.Println(time.Now().Format("2006-01-02 15:04:05")) retu 阅读全文
posted @ 2020-03-20 10:11 眼镜儿 阅读(1641) 评论(0) 推荐(0) 编辑