Commit ca128b325d6918e0a68654be697636d7cce502ad
1 parent
f58b315e
邮件时间bug
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/services/globald.lua
@@ -60,25 +60,25 @@ local function mailQuene() | @@ -60,25 +60,25 @@ local function mailQuene() | ||
60 | if email.mid then | 60 | if email.mid then |
61 | redisproxy:hmset(string_format("globalEmail:%s", gid), | 61 | redisproxy:hmset(string_format("globalEmail:%s", gid), |
62 | "id", gid, | 62 | "id", gid, |
63 | - "createtime", email.endTime, | 63 | + "createtime", email.startTime, |
64 | "title", email.title, | 64 | "title", email.title, |
65 | "stitle", email.stitle, | 65 | "stitle", email.stitle, |
66 | "content", email.content, | 66 | "content", email.content, |
67 | "attachments", email.attachments, | 67 | "attachments", email.attachments, |
68 | "endtime", email.endTime, | 68 | "endtime", email.endTime, |
69 | "mid", email.mid, | 69 | "mid", email.mid, |
70 | - "timestamp", email.startTime | 70 | + "timestamp", now |
71 | ) | 71 | ) |
72 | else | 72 | else |
73 | redisproxy:hmset(string_format("globalEmail:%s", gid), | 73 | redisproxy:hmset(string_format("globalEmail:%s", gid), |
74 | "id", gid, | 74 | "id", gid, |
75 | - "createtime", email.endTime, | 75 | + "createtime", email.startTime, |
76 | "title", email.title, | 76 | "title", email.title, |
77 | "stitle", email.stitle, | 77 | "stitle", email.stitle, |
78 | "content", email.content, | 78 | "content", email.content, |
79 | "attachments", email.attachments, | 79 | "attachments", email.attachments, |
80 | "endtime", email.endTime, | 80 | "endtime", email.endTime, |
81 | - "timestamp", email.startTime | 81 | + "timestamp", now |
82 | ) | 82 | ) |
83 | end | 83 | end |
84 | end | 84 | end |