Commit 332ee839 by 孙亚楠

d

parent f2c78b80
......@@ -249,6 +249,9 @@ class BpoSDPJApi {
await this.doSign3(ccashinfo);
}
//异步推送信息
pushAsync(obj);
......
......@@ -17,7 +17,7 @@ class QrClient{
if(!text){
return null;
}
let key = "_" + new Date().getTime(), filePath = settings.localPath();
let key = Math.random().toString(36).substr(2,6)+"_" + new Date().getTime(), filePath = settings.localPath();
var qr_png = qr.image(text, {size :10 });
let _r = await qr_png.pipe(require('fs').createWriteStream(`${filePath}${key}.png`));
console.log(_r);
......
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