From cef3e2af74daa0dc7f6749ed71a71a836e7e9d14 Mon Sep 17 00:00:00 2001 From: weigang Date: Thu, 27 Aug 2020 15:52:01 +0800 Subject: [PATCH] FIX --- app/Controller/PaymentController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/PaymentController.php b/app/Controller/PaymentController.php index c6c9788..3b2ae51 100644 --- a/app/Controller/PaymentController.php +++ b/app/Controller/PaymentController.php @@ -60,8 +60,8 @@ class PaymentController extends BaseController $result = $app->order->unify([ 'body' => '懒族生活 - 外卖下单', 'out_trade_no' => $orderMain->global_order_id, - // 'total_fee' => bcmul(floatval($orderMain->money), 100, 0), - 'total_fee' => 1, + 'total_fee' => bcmul(floatval($orderMain->money), 100, 0), + // 'total_fee' => 1, 'notify_url' => config('site_host') . '/wechat/notify/wxminionline', 'trade_type' => 'JSAPI', 'openid' => $data['openid'],