|
@@ -229,6 +229,10 @@ class Wechat extends Core
|
|
|
$tools = new \JsApiPay($this->config);
|
|
|
$info = $tools->GetJsApiParameters($order);
|
|
|
|
|
|
+ if ($refer == 'param') {
|
|
|
+ return json_decode($info, true);
|
|
|
+ }
|
|
|
+
|
|
|
$html = '<script type="text/javascript">
|
|
|
function jsApiCall()
|
|
|
{
|