@ -43,6 +43,10 @@ class Weixin
$timeStamp = time();
if (!isset($payConf['share']) || $payConf['share'] != 'N') { // 默认分账
$unifiedOrder->setParameter("profit_sharing", 'Y');//分账
}
$unifiedOrder->setParameter("out_trade_no", $order_no);//商户订单号
$unifiedOrder->setParameter("total_fee", $pay_amount * 100);//总金额