no message

This commit is contained in:
hellcat 2025-04-08 17:35:34 +08:00
parent 6495b46ec4
commit b60edb3cc6

View File

@ -339,10 +339,10 @@ final class HookController
$sMsg = ''; $sMsg = '';
foreach ($aOrderList as $row) { foreach ($aOrderList as $row) {
$coupon = str_replace('.', '#', $row['coupon']);
if (!$coupon) { if (!$coupon) {
$coupon = '无'; $coupon = '无';
} }
$coupon = str_replace('.', '#', $row['coupon']);
$sMsg .= "\n\n"; $sMsg .= "\n\n";
$sMsg .= $coupon . ' - ' . $row['total_price'] . ' / ' . $row['total']; $sMsg .= $coupon . ' - ' . $row['total_price'] . ' / ' . $row['total'];
} }