mm_os 2.0.8 → 2.1.0
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/drive.js +0 -1
- package/core/com/cmd/index.js +2 -2
- package/package.json +3 -4
package/core/com/cmd/drive.js
CHANGED
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mm_os",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "这是超级美眉服务端框架,用于快速构建应用程序。",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"koa-websocket": "^7.0.0",
|
|
38
38
|
"mm_check": "^1.4.5",
|
|
39
39
|
"mm_excel": "^1.1.7",
|
|
40
|
-
"mm_expand": "^1.
|
|
40
|
+
"mm_expand": "^1.7.0",
|
|
41
41
|
"mm_html": "^1.1.5",
|
|
42
42
|
"mm_koa_proxy": "^1.0.0",
|
|
43
43
|
"mm_logs": "^1.1.3",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"mm_mongodb": "^1.4.1",
|
|
46
46
|
"mm_mqtt": "^1.0.5",
|
|
47
47
|
"mm_mysql": "^1.7.9",
|
|
48
|
-
"mm_os": "^2.0.6",
|
|
49
48
|
"mm_redis": "^1.4.0",
|
|
50
49
|
"mm_ret": "^1.3.8",
|
|
51
50
|
"mm_session": "^1.4.5",
|
|
@@ -53,6 +52,6 @@
|
|
|
53
52
|
"mm_tpl": "^2.3.8",
|
|
54
53
|
"mm_xml": "^1.1.4",
|
|
55
54
|
"mosca": "^2.8.3",
|
|
56
|
-
"mqtt": "^5.
|
|
55
|
+
"mqtt": "^5.10.1"
|
|
57
56
|
}
|
|
58
57
|
}
|