Commit 04646d86 authored by 赵威's avatar 赵威

update time

parent 83ac5e1b
...@@ -110,21 +110,21 @@ object Main extends LazyLogging { ...@@ -110,21 +110,21 @@ object Main extends LazyLogging {
// current time // current time
logger.info(s"${user.eventCn} ${deviceId}") logger.info(s"${user.eventCn} ${deviceId}")
if (deviceId == "64695DE0-B926-4188-9C62-D987DC20BEDF") { // if (deviceId == "64695DE0-B926-4188-9C62-D987DC20BEDF") {
DingTalk.send( // DingTalk.send(
Map( // Map(
"deviceId" -> deviceId, // "deviceId" -> deviceId,
"eventCn" -> user.eventCn, // "eventCn" -> user.eventCn,
"action" -> user.action, // "action" -> user.action,
"cityId" -> user.cityId.toString, // "cityId" -> user.cityId.toString,
"logTime" -> user.logTime.toString, // "logTime" -> user.logTime.toString,
"projects" -> user.projects.mkString(" "), // "projects" -> user.projects.mkString(" "),
"diaryRead" -> diaryRead.size.toString, // "diaryRead" -> diaryRead.size.toString,
"tractateRead" -> tractateRead.size.toString, // "tractateRead" -> tractateRead.size.toString,
"answerRead" -> answerRead.size.toString // "answerRead" -> answerRead.size.toString
) // )
) // )
} // }
deviceId deviceId
} catch { } catch {
......
...@@ -49,7 +49,7 @@ object Redis { ...@@ -49,7 +49,7 @@ object Redis {
"method" -> "Redis.save", "method" -> "Redis.save",
"deviceId" -> deviceId, "deviceId" -> deviceId,
"contentType" -> contentType, "contentType" -> contentType,
"streamTotalSeconds" -> s"${(System.currentTimeMillis - timeBegin * 1000)}ms" "streamTotalSeconds" -> s"${(System.currentTimeMillis - timeBegin)}ms"
) )
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment