提交 1e9509f4 编写于 作者: D Devil

支付宝支付插件支持异步返回

上级 46a12fab
......@@ -244,8 +244,18 @@ class Alipay
// 生成签名参数+签名
$parameter['sign'] = $this->MyRsaSign($this->GetSignContent($parameter));
// 接口则直接返回
if(APPLICATION == 'app')
{
$result = [
'data' => $parameter,
'url' => 'https://openapi.alipay.com/gateway.do?charset=utf-8',
];
return DataReturn('success', 0, $result);
}
// 输出执行form表单post提交
// web端输出执行form表单post提交
exit($this->BuildRequestForm($parameter));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册