fix pay
This commit is contained in:
parent
be5d421393
commit
50c52556e0
27
src/fix_patch/patch_hdinfo_20231221.ts
Normal file
27
src/fix_patch/patch_hdinfo_20231221.ts
Normal file
@ -0,0 +1,27 @@
|
||||
import {ctor} from "../global";
|
||||
import {initMongoDB} from "../setMongodb";
|
||||
|
||||
async function start() {
|
||||
await initMongoDB()
|
||||
|
||||
// 刷新活动配置
|
||||
console.log(`删除错误活动数据开始...`);
|
||||
|
||||
|
||||
await G.mongodb.collection("hdinfo").deleteOne({hdid: 8000})
|
||||
|
||||
console.log(`删除错误活动数据完成...`);
|
||||
}
|
||||
|
||||
ctor();
|
||||
start().then(() => {
|
||||
let s = 0;
|
||||
setInterval(() => {
|
||||
s += 1;
|
||||
console.log(new Date().format("MM-dd hh:mm:ss"));
|
||||
if (s >= 3) process.exit(1);
|
||||
}, 1000)
|
||||
console.log("逻辑执行完成...等待退出!!!");
|
||||
});
|
||||
|
||||
|
@ -178,6 +178,7 @@ export class PayFun {
|
||||
if (payed) {
|
||||
console.log(uid, payId, payArgs, orderNo);
|
||||
console.log('订单号已存在');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user