提交 b6655243 编写于 作者: 李光春's avatar 李光春

- Test:微信公众号支付

上级 2a052262
......@@ -22,6 +22,7 @@ use DtApp\ThinkLibrary\exception\WeChatException;
use DtApp\ThinkLibrary\facade\Pregs;
use DtApp\ThinkLibrary\facade\Randoms;
use DtApp\ThinkLibrary\facade\Urls;
use DtApp\ThinkLibrary\facade\Xmls;
use DtApp\ThinkLibrary\Service;
use DtApp\ThinkLibrary\service\curl\HttpService;
use think\db\exception\DataNotFoundException;
......@@ -524,7 +525,7 @@ class WebAppService extends Service
$array['nonce_str'] = Randoms::generate(32, 3);
$array['sign'] = $this->paySign($array, false);
$array['sign_type'] = 'md5';
return $this->postXmlCurl($array);
return $this->postXmlCurl(Xmls::toXml($array));
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册