...
|
...
|
@@ -5,7 +5,7 @@ const _ = require('lodash'); |
|
|
module.exports = (type, query, req) => {
|
|
|
query = type === 'url' ? md5(query) : query;
|
|
|
|
|
|
if (redis && _.get(req.app.locals.pc, 'ci.tdk', false)) {
|
|
|
if (redis && !_.get(req.app.locals.pc, 'ci.tdk', false)) {
|
|
|
let arr = [];
|
|
|
|
|
|
arr.push(redis.multi([
|
...
|
...
|
|