mm_redis 2.0.2 → 2.0.4
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/README.md +2 -2
- package/index.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,9 +7,9 @@ mm_redis是一个高效的Redis客户端封装库,提供了全面的Redis功
|
|
|
7
7
|
|
|
8
8
|
## 版本信息
|
|
9
9
|
|
|
10
|
-
- **当前版本**: 2.0.
|
|
10
|
+
- **当前版本**: 2.0.4
|
|
11
11
|
- **更新日期**: 2025-10-14
|
|
12
|
-
- **作者**:
|
|
12
|
+
- **作者**: qww
|
|
13
13
|
- **NPM**: [https://www.npmjs.com/package/mm_redis](https://www.npmjs.com/package/mm_redis)
|
|
14
14
|
- **GitHub**: [https://gitee.com/qiuwenwu91/mm_redis](https://gitee.com/qiuwenwu91/mm_redis)
|
|
15
15
|
|
package/index.js
CHANGED
|
@@ -219,7 +219,7 @@ Redis.prototype.setConfig = function(config) {
|
|
|
219
219
|
|
|
220
220
|
// 初始化连接池
|
|
221
221
|
this._initPool();
|
|
222
|
-
$.log.debug('[Redis] 配置已更新');
|
|
222
|
+
// $.log.debug('[Redis] 配置已更新');
|
|
223
223
|
this.identifier = this.config.host + "/" + this.config.database;
|
|
224
224
|
return this;
|
|
225
225
|
};
|
|
@@ -4170,7 +4170,7 @@ if (!$.pool.redis) {
|
|
|
4170
4170
|
* @param {Object} config 配置参数
|
|
4171
4171
|
* @return {Object} 返回一个Redis类实例
|
|
4172
4172
|
*/
|
|
4173
|
-
function
|
|
4173
|
+
function redisAdmin(scope, config) {
|
|
4174
4174
|
if (!scope) {
|
|
4175
4175
|
scope = 'sys';
|
|
4176
4176
|
}
|
|
@@ -4185,4 +4185,4 @@ function redis_admin(scope, config) {
|
|
|
4185
4185
|
/**
|
|
4186
4186
|
* @module 导出Redis管理器
|
|
4187
4187
|
*/
|
|
4188
|
-
exports.
|
|
4188
|
+
exports.redisAdmin = redisAdmin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mm_redis",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "高效的Redis客户端封装库,提供连接池管理、数据类型操作、错误处理和批量操作优化",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"mm_redis",
|
|
28
28
|
"nodejs"
|
|
29
29
|
],
|
|
30
|
-
"author": "
|
|
30
|
+
"author": "qww",
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://gitee.com/qiuwenwu91/mm_redis/issues"
|