Explorar o código

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

萤火科技 %!s(int64=5) %!d(string=hai) anos
pai
achega
0bc6999e17
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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'],