Authored by hf

do add union codes

... ... @@ -871,7 +871,7 @@ class HomeController extends AbstractAction
$order = WxPayApi::unifiedOrder($input);
$jsApiParameters = $tools->GetJsApiParameters($order);
$this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => $jsApiParameters)));
$this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters) )) );
} while (false);
}
... ...