Ver Fonte

修复:订单商品未写入商品名称

萤火科技 há 5 anos atrás
pai
commit
0bc6999e17
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      app/api/service/order/Checkout.php

+ 1 - 0
app/api/service/order/Checkout.php

@@ -783,6 +783,7 @@ class Checkout extends BaseService
                 'user_id' => $this->user['user_id'],
                 'store_id' => $this->storeId,
                 'goods_id' => $goods['goods_id'],
+                'goods_name' => $goods['goods_name'],
                 'goods_no' => $goods['goods_no'] ?: '',
                 'image_id' => (int)current($goods['goods_images'])['file_id'],
                 'deduct_stock_type' => $goods['deduct_stock_type'],