shish 3 år sedan
förälder
incheckning
50ff60391f
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      biz-ghs/notify/classes/NotifyClass.php

+ 3 - 1
biz-ghs/notify/classes/NotifyClass.php

@@ -25,6 +25,8 @@ class NotifyClass extends BaseClass
         $shopId = $refund->shopId ?? 0;
         $title = '有新的售后申请';
         $id = $refund->id;
+        $refundPrice = $refund->refundPrice;
+        $refundPrice = floatval($refundPrice);
         $customId = $refund->customId;
         $custom = CustomClass::getById($customId, true);
         $customName = $custom->name ?? '';
@@ -39,7 +41,7 @@ class NotifyClass extends BaseClass
                     'title' => $title,
                     'type' => 0,
                     'read' => 0,
-                    'content' => $customName . ' 申请售后',
+                    'content' => $customName . '申请退款' . $refundPrice . '元',
                     'page' => '/pagesOrder/refundDetail?id=' . $id,
                 ];
                 self::add($data);