forked from golang/hotime
大岗山水电站初版完成
This commit is contained in:
parent
2c1abb1d11
commit
a8f9f12bb8
@ -3,6 +3,7 @@ package app
|
|||||||
import (
|
import (
|
||||||
. "code.hoteas.com/golang/hotime"
|
. "code.hoteas.com/golang/hotime"
|
||||||
. "code.hoteas.com/golang/hotime/common"
|
. "code.hoteas.com/golang/hotime/common"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var MailCtr = Ctr{
|
var MailCtr = Ctr{
|
||||||
@ -33,6 +34,7 @@ var MailCtr = Ctr{
|
|||||||
}
|
}
|
||||||
|
|
||||||
data := Map{
|
data := Map{
|
||||||
|
"sn": Md5(ObjToStr(time.Now().UnixNano()) + ObjToStr(RandX(10000, 100000))),
|
||||||
"name": name, "title": title, "phone": phone, "content": content, "type": tp, "show": show,
|
"name": name, "title": title, "phone": phone, "content": content, "type": tp, "show": show,
|
||||||
"modify_time[#]": "NOW()", "create_time[#]": "NOW()",
|
"modify_time[#]": "NOW()", "create_time[#]": "NOW()",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user