Commit 9664b7fb by 蒋勇

d

parent 842f662b
...@@ -27,7 +27,8 @@ class RptTypeService extends ServiceBase{ ...@@ -27,7 +27,8 @@ class RptTypeService extends ServiceBase{
position:hd.position, position:hd.position,
valstr:hd.valstr, valstr:hd.valstr,
desc:hd.desc, desc:hd.desc,
uploadrpt_id:rptid uploadrpt_id:rptid,
uploadbatch_id:batchid,
}; };
hisarray.push(h); hisarray.push(h);
}); });
......
...@@ -224,15 +224,15 @@ class RedisClient { ...@@ -224,15 +224,15 @@ class RedisClient {
} }
} }
module.exports = RedisClient; module.exports = RedisClient;
// var client=new RedisClient(); var client=new RedisClient();
// (async ()=>{ (async ()=>{
// await client.rpush("tasklist","xxx"); await client.rpush("riskmq",JSON.stringify({
// await client.rpush("tasklist","xxx"); key:"riskmq",
// var len=await client.llen("tasklist"); content:"mmffddfd"
// //await client.clearlist("tasklist"); }));
// len=await client.llen("tasklist");
// console.log(len); console.log("end");
// })() })()
// client.keys('*').then(s=>{ // client.keys('*').then(s=>{
// console.log(s); // console.log(s);
......
...@@ -3,7 +3,7 @@ var settings={ ...@@ -3,7 +3,7 @@ var settings={
host: "43.247.184.32", host: "43.247.184.32",
port: 8967, port: 8967,
password: "Gongsibao2018", password: "Gongsibao2018",
db: 11, db: 15,
}, },
database: { database: {
dbname: "fktaxctl", dbname: "fktaxctl",
......
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