shish 4 ani în urmă
părinte
comite
7d0a2a289f
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      console/controllers/InitController.php

+ 3 - 3
console/controllers/InitController.php

@@ -105,7 +105,7 @@ class InitController extends Controller
                 $orderSn = $order['orderSn'] ?? '';
                 if ($final != $orderPrice) {
                     echo "订单号:{$orderSn} {$addTime} \n";
-                    echo "=====\n";
+                    echo "===\n";
                     $itemList = \bizHd\order\classes\OrderItemClass::getAllByCondition(['orderSn' => $orderSn], null, '*');
                     if (!empty($itemList)) {
                         foreach ($itemList as $item) {
@@ -118,8 +118,8 @@ class InitController extends Controller
                             echo $goods['name'] . " " . $goods['num'] . "X" . $goods['unitPrice'] . " " . $goods['price'] . "\n";
                         }
                     }
-                    echo "=====\n";
-                    echo "商品总和:{$goodsPrice} \n 运费:{$sendCost} \n人工包装费:{$labourCost} \n合计:{$total} \n优惠:{$discountAmount}\n 订单金额:{$orderPrice} \n 实付金额:{$actPrice}\n";
+                    echo "===\n";
+                    echo "商品总和:{$goodsPrice} \n 运费:{$sendCost} \n人工包装费:{$labourCost} \n合计:{$total} \n优惠:{$discountAmount}\n 订单金额:{$orderPrice} \n 实付金额:{$actPrice}\n\n\n\n\n";
                 }
             }
         }