This commit is contained in:
2022-09-15 16:06:25 +08:00
parent 2cf76a21fb
commit 2d563673ab

View File

@@ -123,7 +123,7 @@ class Wechat
$unify = $payment->order->unify([
'body' => '商品订单',
'out_trade_no' => $outTradeNo,
'total_fee' => 100,
'total_fee' => $order->amount * 100,
'notify_url' => $notifyUrl,
'trade_type' => 'JSAPI',
'openid' => $user->openid,