shish 4 жил өмнө
parent
commit
b886efcf85

+ 1 - 1
biz/shop/classes/ShopClass.php

@@ -289,7 +289,7 @@ class ShopClass extends BaseClass
 
         //增加余额变动记录
         $id = $order->id;
-        $event = $customName . "下单{$amount}元";
+        $event = $customName . "下单{" . floatval($amount) . "}元";
         $tx = dict::getDict('yeTx', 'can');
         $fromType = $order->fromType ?? 1;
         $change = [