Commit 6c2deca9 by 王勇飞

gyq

parent cbe798a0
const CacheBase = require("../cache.base");
const system = require("../../system");
const settings = require("../../../config/settings");
class TxCache extends CacheBase {
constructor() {
super();
//this.userDao = system.getObject("db.auth.userDao");
}
isdebug() {
return settings.env == "dev";
}
desc() {
return "缓存缓存腾讯队列信息";
}
prefix() {
return "g_txInfo_"
}
async buildCacheVal(cachekey, inputkey, val, ex, ...items) {
if (val) {
return val;
}
return null;
}
}
module.exports = TxCache;
\ No newline at end of file
...@@ -1644,6 +1644,16 @@ ...@@ -1644,6 +1644,16 @@
"emitter-listener": "^1.1.1" "emitter-listener": "^1.1.1"
} }
}, },
"convert-hex": {
"version": "0.1.0",
"resolved": "https://registry.npm.taobao.org/convert-hex/download/convert-hex-0.1.0.tgz",
"integrity": "sha1-CMBFaJIsJ3drii6BqV05M2LqC2U="
},
"convert-string": {
"version": "0.1.0",
"resolved": "https://registry.npm.taobao.org/convert-string/download/convert-string-0.1.0.tgz",
"integrity": "sha1-ec5BqbsNA7z3LNxqjzxW+7xkQQo="
},
"cookie": { "cookie": {
"version": "0.3.1", "version": "0.3.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
...@@ -7173,6 +7183,15 @@ ...@@ -7173,6 +7183,15 @@
"crypt": ">= 0.0.1" "crypt": ">= 0.0.1"
} }
}, },
"sha256": {
"version": "0.2.0",
"resolved": "https://registry.npm.taobao.org/sha256/download/sha256-0.2.0.tgz",
"integrity": "sha1-c6C0GNqrcDW/+G6EkeNjQS/CqwU=",
"requires": {
"convert-hex": "~0.1.0",
"convert-string": "~0.1.0"
}
},
"shebang-command": { "shebang-command": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
"sequelize-cli": "^4.1.1", "sequelize-cli": "^4.1.1",
"serve-favicon": "^2.4.5", "serve-favicon": "^2.4.5",
"sha1": "^1.1.1", "sha1": "^1.1.1",
"sha256": "^0.2.0",
"socket.io": "^2.1.1", "socket.io": "^2.1.1",
"uuid": "^3.2.1", "uuid": "^3.2.1",
"xml2js": "^0.4.19" "xml2js": "^0.4.19"
......
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