...
|
...
|
@@ -856,9 +856,12 @@ class HomeController extends AbstractAction |
|
|
|
|
|
$totalFee = intval(strtr($orderDetail['data']['amount'], array('¥' => ''))) * 100;
|
|
|
$openId = $this->getSession('weixinOpenId');
|
|
|
if (empty($openId)) {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
$tools = new JsApiPay();
|
|
|
//统一下单
|
|
|
$tools = new JsApiPay();
|
|
|
$input = new WxPayUnifiedOrder();
|
|
|
$input->SetBody('有货订单号:' . $orderCode);
|
|
|
$input->SetOut_trade_no('YOHOBuy_' . $orderCode); // 商户订单号
|
...
|
...
|
|