kevin_zhangl 2 anni fa
parent
commit
adae894b67
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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');