mm_os 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/com/cmd/index.js +2 -2
- package/package.json +1 -1
package/core/com/cmd/index.js
CHANGED
|
@@ -61,7 +61,7 @@ Cmd.prototype.run = async function(msg, db, table) {
|
|
|
61
61
|
if (bl) {
|
|
62
62
|
msg_log = await db.getObj(query);
|
|
63
63
|
if (msg_log) {
|
|
64
|
-
msg_log.
|
|
64
|
+
msg_log.time_create = new Date().toStr('yyyy-MM-dd hh:mm:ss');
|
|
65
65
|
}
|
|
66
66
|
} else {
|
|
67
67
|
$.log.error('添加微信消息到wechat_message表失败!', msg_log);
|
|
@@ -103,7 +103,7 @@ Cmd.prototype.run = async function(msg, db, table) {
|
|
|
103
103
|
if (bl) {
|
|
104
104
|
msg_log = await db.getObj(query);
|
|
105
105
|
if (msg_log) {
|
|
106
|
-
msg_log.
|
|
106
|
+
msg_log.time_create = new Date().toStr('yyyy-MM-dd hh:mm:ss');
|
|
107
107
|
}
|
|
108
108
|
db.msg = msg_log;
|
|
109
109
|
}
|