Przeglądaj źródła

修复:订单结算台积分抵扣按钮无法点击

萤火科技 1 rok temu
rodzic
commit
3c36c800b3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/api/service/order/Checkout.php

+ 1 - 1
app/api/service/order/Checkout.php

@@ -338,7 +338,7 @@ class Checkout extends BaseService
             // 是否允许使用积分抵扣
             // 是否允许使用积分抵扣
             'isAllowPoints' => false,
             'isAllowPoints' => false,
             // 是否使用积分抵扣
             // 是否使用积分抵扣
-            'isUsePoints' => $this->param['isUsePoints'],
+            'isUsePoints' => (bool)$this->param['isUsePoints'],
             // 积分抵扣金额
             // 积分抵扣金额
             'pointsMoney' => '0.00',
             'pointsMoney' => '0.00',
             // 赠送的积分数量
             // 赠送的积分数量