提交 c5690036 编写于 作者: G gongfuxiang

wx pay

上级 98059c67
......@@ -252,9 +252,11 @@ class Weixin
*/
private function PayHtml($pay_data, $redirect_url)
{
$success_url = urlencode(PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>0]));
$error_url = urlencode(PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>-1]));
// 支付跳转地址
$success_url = PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>0]);
$error_url = PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>-1]);
// 支付代码
exit('<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册