kevin_zhangl 2 年之前
父節點
當前提交
adae894b67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontendApi/modules/v1/controllers/ShopController.php

+ 1 - 1
frontendApi/modules/v1/controllers/ShopController.php

@@ -423,7 +423,7 @@ class ShopController extends BaseController {
             return static::notice('订单编码无效');
         }
         // 转为分
-        $money = $order['PAY_AMOUNT'] * 100;
+        $money = $order['PAY_AMOUNT'];
 
         // 订单金额,元=>分
 //        $money = \Yii::$app->request->post('Amount');