shish 8 mesi fa
parent
commit
aa5894a535
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      common/components/push.php

+ 2 - 2
common/components/push.php

@@ -298,8 +298,8 @@ class push
             $customId = $order->customId ?? 0;
             $custom = CustomClass::getById($customId, true);
             $customName = $custom->name ?? '';
-
-            $content = $customName . ' ¥' . $order->actPrice;
+            $actPrice = $order->actPrice ? floatval($order->actPrice) : 0;
+            $content = $customName . ' ¥' . $actPrice;
             noticeUtil::push($content, '15280215347');
             $payload = [
                 "page" => "pagesOrder/detail",