pay: submit.php 回到 302,收银台页落在 /cashier.php
直出页面时 POST 表单刷新会丢/重复提交。改为 PRG: submit.php 建单后 302 到 /cashier.php?trade_no=(后端渲染同一 收银台页,按订单当前状态展示,刷新安全);nginx 放行 cashier.php。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ server {
|
||||
proxy_read_timeout 3600s;
|
||||
}
|
||||
|
||||
location ~ ^/(submit|mapi|api)\.php$ {
|
||||
location ~ ^/(submit|mapi|api|cashier)\.php$ {
|
||||
proxy_pass http://127.0.0.1:8891;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user