Commit a9a072ae194e81f400d31778eb9544cad1c390c1

Authored by zhouhaihai
1 parent 8fa215b7

发送邮件时间戳

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/EmailAction.lua
@@ -43,7 +43,7 @@ function _M.listRpc(agent, data) @@ -43,7 +43,7 @@ function _M.listRpc(agent, data)
43 if tonum(email.createtime) > role:getProperty("ctime") 43 if tonum(email.createtime) > role:getProperty("ctime")
44 and ( not email.mid or tonum(email.mid) == mid ) 44 and ( not email.mid or tonum(email.mid) == mid )
45 and ( not email.endtime or tonum(email.endtime) > now )then 45 and ( not email.endtime or tonum(email.endtime) > now )then
46 - local time = email.timestamp and tonum(email.timestamp) or email.createtime 46 + local time = email.time and tonum(email.time) or email.createtime
47 redisproxy:insertEmail({ 47 redisproxy:insertEmail({
48 roleId = roleId, 48 roleId = roleId,
49 emailId = 0, 49 emailId = 0,