Commit 980034a5 by 兰国旗

laolan

parent 195cebf8
......@@ -284,7 +284,7 @@ class MediaaggregationDao extends Dao {
rtnObj.total = dataCount && dataCount.length > 0 ? dataCount[0].dataCount : 0;
return rtnObj;
} else {
rtnObj.rows = JSON.parse(list);
rtnObj.rows = list;
rtnObj.total = dataCount && dataCount.length > 0 ? dataCount[0].dataCount : 0;
await this.redisClient.set(shaStr, JSON.stringify(rtnObj));
rtn = await this.redisClient.get(shaStr);
......@@ -293,6 +293,9 @@ class MediaaggregationDao extends Dao {
}
}
}
if (optionType == "del") {
await this.redisClient.delete(shaStr);
}
}
}
module.exports = MediaaggregationDao;
\ No newline at end of file
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