From a8f9f12bb84a69932358f02dd8ef1384fcaf68c4 Mon Sep 17 00:00:00 2001 From: hoteas Date: Thu, 28 Jul 2022 12:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B2=97=E5=B1=B1=E6=B0=B4=E7=94=B5?= =?UTF-8?q?=E7=AB=99=E5=88=9D=E7=89=88=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/app/mail.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/app/mail.go b/example/app/mail.go index 3066e9e..91d1d10 100644 --- a/example/app/mail.go +++ b/example/app/mail.go @@ -3,6 +3,7 @@ package app import ( . "code.hoteas.com/golang/hotime" . "code.hoteas.com/golang/hotime/common" + "time" ) var MailCtr = Ctr{ @@ -33,6 +34,7 @@ var MailCtr = Ctr{ } data := Map{ + "sn": Md5(ObjToStr(time.Now().UnixNano()) + ObjToStr(RandX(10000, 100000))), "name": name, "title": title, "phone": phone, "content": content, "type": tp, "show": show, "modify_time[#]": "NOW()", "create_time[#]": "NOW()", }