Commit ca128b325d6918e0a68654be697636d7cce502ad

Authored by zhouhaihai
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 60 if email.mid then
61 61 redisproxy:hmset(string_format("globalEmail:%s", gid),
62 62 "id", gid,
63   - "createtime", email.endTime,
  63 + "createtime", email.startTime,
64 64 "title", email.title,
65 65 "stitle", email.stitle,
66 66 "content", email.content,
67 67 "attachments", email.attachments,
68 68 "endtime", email.endTime,
69 69 "mid", email.mid,
70   - "timestamp", email.startTime
  70 + "timestamp", now
71 71 )
72 72 else
73 73 redisproxy:hmset(string_format("globalEmail:%s", gid),
74 74 "id", gid,
75   - "createtime", email.endTime,
  75 + "createtime", email.startTime,
76 76 "title", email.title,
77 77 "stitle", email.stitle,
78 78 "content", email.content,
79 79 "attachments", email.attachments,
80 80 "endtime", email.endTime,
81   - "timestamp", email.startTime
  81 + "timestamp", now
82 82 )
83 83 end
84 84 end
... ...