Authored by xiaowei

转化为字符串

@@ -136,7 +136,7 @@ class PayController extends AbstractAction @@ -136,7 +136,7 @@ class PayController extends AbstractAction
136 $order = WxPayApi::unifiedOrder($input); 136 $order = WxPayApi::unifiedOrder($input);
137 UdpLog::info('【微信支付下单】统一下单时返回结果,','input:'.json_encode($input).'返回:'.json_encode($order)); 137 UdpLog::info('【微信支付下单】统一下单时返回结果,','input:'.json_encode($input).'返回:'.json_encode($order));
138 $jsApiParameters = $tools->GetJsApiParameters($order); 138 $jsApiParameters = $tools->GetJsApiParameters($order);
139 - UdpLog::info('【微信支付下单】支付参数,','order:'.$order.'uid:'.$uid.'返回:'.$jsApiParameters); 139 + UdpLog::info('【微信支付下单】支付参数,','order:'.json_encode($order).'uid:'.$uid.'返回:'.$jsApiParameters);
140 140
141 $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters)))); 141 $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters))));
142 142