Showing
1 changed file
with
1 additions
and
1 deletions
@@ -871,7 +871,7 @@ class HomeController extends AbstractAction | @@ -871,7 +871,7 @@ class HomeController extends AbstractAction | ||
871 | $order = WxPayApi::unifiedOrder($input); | 871 | $order = WxPayApi::unifiedOrder($input); |
872 | $jsApiParameters = $tools->GetJsApiParameters($order); | 872 | $jsApiParameters = $tools->GetJsApiParameters($order); |
873 | 873 | ||
874 | - $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => $jsApiParameters))); | 874 | + $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters) )) ); |
875 | 875 | ||
876 | } while (false); | 876 | } while (false); |
877 | } | 877 | } |
-
Please register or login to post a comment