diff --git a/beike/Shop/Http/Resources/ProductSimple.php b/beike/Shop/Http/Resources/ProductSimple.php index 8635fcfd..2dedcc7f 100644 --- a/beike/Shop/Http/Resources/ProductSimple.php +++ b/beike/Shop/Http/Resources/ProductSimple.php @@ -36,7 +36,7 @@ class ProductSimple extends JsonResource 'id' => $this->id, 'sku_id' => $masterSku->id, 'name' => $name, - 'name_format' => sub_string($name, 50), + 'name_format' => sub_string($name, 36), 'url' => shop_route('products.show', ['product' => $this]), 'price' => $masterSku->price, 'origin_price' => $masterSku->origin_price, diff --git a/plugins/LatestProducts/Views/latest_products.blade.php b/plugins/LatestProducts/Views/latest_products.blade.php index df9f9de5..5275a7c9 100644 --- a/plugins/LatestProducts/Views/latest_products.blade.php +++ b/plugins/LatestProducts/Views/latest_products.blade.php @@ -4,8 +4,8 @@