mm_os 2.0.7 → 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 +3 -3
- 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
|
}
|
|
@@ -210,4 +210,4 @@ function cmd_admin(scope, title) {
|
|
|
210
210
|
/**
|
|
211
211
|
* @module 导出Cmd管理器
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
$.cmd_admin = cmd_admin;
|