首页
关于
Search
1
欢迎使用 Typecho
15 阅读
2
123123
15 阅读
3
1
9 阅读
默认分类
登录
/
注册
Search
肥猫
累计撰写
3
篇文章
累计收到
8
条评论
今日撰写
0
篇文章
首页
栏目
默认分类
页面
关于
用户登录
登录
注册
搜索到
3
篇与
默认分类
的结果
2026-05-21
123123
1231231231
2026年05月21日
15 阅读
3 评论
0 点赞
2026-05-21
1
function buildRequestForm($para_temp, $method='POST', $button_name='正在跳转') { $para = $this->buildRequestPara($para_temp); $charset = trim(strtolower($this->alipay_config['input_charset'])); $actionUrl = $this->alipay_gateway_new . "_input_charset=" . $charset; $sHtml = "<!DOCTYPE html> <html> <head> <meta charset='$charset'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> <title>跳转中...</title> <style>*{text-align:center;padding:20px;font-size:16px;}</style> </head> <body> <form id='alipaysubmit' action='$actionUrl' method='$method'>"; foreach ($para as $key => $val) { $sHtml.= "<input type='hidden' name='$key' value='$val'>"; } $sHtml .= " </form> <script> // 苹果微信终极方案:创建点击事件自动触发 function autoSubmit() { var form = document.getElementById('alipaysubmit'); var btn = document.createElement('button'); btn.type = 'submit'; btn.style.display = 'none'; form.appendChild(btn); btn.click(); } // 立即执行 autoSubmit(); </script> <div>正在进入支付页面...</div> </body> </html>"; return $sHtml; }
2026年05月21日
9 阅读
1 评论
0 点赞
2026-05-21
欢迎使用 Typecho
如果您看到这篇文章,
2026年05月21日
15 阅读
4 评论
0 点赞