shish 4 anni fa
parent
commit
6beff2bf47
1 ha cambiato i file con 1 aggiunte e 9 eliminazioni
  1. 1 9
      biz/shop/classes/ShopExtClass.php

+ 1 - 9
biz/shop/classes/ShopExtClass.php

@@ -82,16 +82,8 @@ class ShopExtClass extends BaseClass
         $shopId = $order->shopId ?? 0;
         $shopId = $order->shopId ?? 0;
         $shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         $shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
         if (isset($shopExt->lbSn) && !empty($shopExt->lbSn)) {
-            $actPrice = $order->actPrice ? floatval($order->actPrice) : 0;
-            $sound = '总计' . $actPrice . '元,请出示付款码';
-
             $mainPay = $order->mainPay ? floatval($order->mainPay) : 0;
             $mainPay = $order->mainPay ? floatval($order->mainPay) : 0;
-            $cash = $order->cash ?? 0;
-            $cash = floatval($cash);
-            if ($actPrice > $mainPay) {
-                $sound = '总计' . $actPrice . '元,现金付' . $cash . '元,还需付' . $mainPay . '元,请出示付款码';
-            }
-
+            $sound = '应付' . $mainPay . '元,请出示付款码';
             $url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version=3&message=" . $sound;
             $url = "https://speaker.17laimai.cn/notify.php?id={$shopExt->lbSn}&token=HK1626595800&version=3&message=" . $sound;
             $curl = new curl\Curl();
             $curl = new curl\Curl();
             $curl->get($url);
             $curl->get($url);