diff --git a/FlyCube/Api/Controller/PayController.class.php b/FlyCube/Api/Controller/PayController.class.php index 3e2a0d2..9e0bb4a 100644 --- a/FlyCube/Api/Controller/PayController.class.php +++ b/FlyCube/Api/Controller/PayController.class.php @@ -60,7 +60,7 @@ class PayController extends PublicController 'out_trade_no' => $order['order_sn'], 'description' => $order['shop_id'], 'amount' => [ - 'total' => $order['total_price'] / 100, //单位:分 + 'total' => $order['total_price'] * 100, //单位:分 'currency' => 'CNY', ], 'payer' => [