避免递归访问

This commit is contained in:
Xu Chang 2024-07-12 18:49:17 +08:00
parent eb76b272b0
commit 87b21b9f1a
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ export async function payNotify(context, body, payId, headers) {
filter: {
id: payId,
}
}, {});
}, { blockTrigger: true });
if (!pay) {
console.error('接受到无效的payId', payId);
return;

View File

@ -45,7 +45,7 @@ async function payNotify(context, body, payId, headers) {
filter: {
id: payId,
}
}, {});
}, { blockTrigger: true });
if (!pay) {
console.error('接受到无效的payId', payId);
return;

View File

@ -48,7 +48,7 @@ export async function payNotify<ED extends EntityDict & BaseEntityDict>(context:
filter: {
id: payId,
}
}, {});
}, { blockTrigger: true });
if (!pay) {
console.error('接受到无效的payId', payId);
return;