's'
This commit is contained in:
@@ -114,7 +114,7 @@ export async function POST(request: NextRequest) {
|
||||
}
|
||||
}
|
||||
const return_url = String(body?.return_url || "").trim();
|
||||
const total_fee = Number(body?.total_fee) || payConfig.defaultAmount || 880;
|
||||
const total_fee = Number(body?.total_fee) || payConfig.defaultAmount || 8800;
|
||||
const type = String(body?.type || "vip");
|
||||
const channel = String(body?.channel || "wxpay");
|
||||
const device = String(body?.device || "pc");
|
||||
@@ -374,11 +374,11 @@ h2{color:#1e293b;margin:0 0 8px;font-size:1.5rem;}
|
||||
.then(function(r){return r.json();})
|
||||
.then(function(d){
|
||||
if(d.ok&&d.paid){showSuccess();return;}
|
||||
setTimeout(check,2000);
|
||||
setTimeout(check,1000);
|
||||
})
|
||||
.catch(function(){setTimeout(check,2000);});
|
||||
.catch(function(){setTimeout(check,1000);});
|
||||
}
|
||||
setTimeout(check,2000);
|
||||
setTimeout(check,1000);
|
||||
})();
|
||||
</script>
|
||||
</body></html>`;
|
||||
|
||||
Reference in New Issue
Block a user