kevin_zhangl hace 2 años
padre
commit
adae894b67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');