From b8961f178740f99ce54cfcbfd88235eaf8b79872 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 12 Dec 2025 18:59:02 +0800
Subject: [PATCH] 保证金和年卡放同一个页面

---
 admin/app/api/model/page/Page.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/admin/app/api/model/page/Page.php b/admin/app/api/model/page/Page.php
index 34a3d4b..d0a53aa 100644
--- a/admin/app/api/model/page/Page.php
+++ b/admin/app/api/model/page/Page.php
@@ -119,6 +119,8 @@
             $data[] = [
                 'product_id' => $product['product_id'],
                 'product_name' => $product['product_name'],
+                'cart' => $product['cart'],
+                'product_sku' => $product['product_sku'],
                 'selling_point' => $product['selling_point'],
                 'image' => $product['image'][0]['file_path'],
                 'product_image' => $product['image'][0]['file_path'],
@@ -147,7 +149,7 @@
     {
         // 获取文章数据
         $model = new Article;
-        $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum']);
+        $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum'],0);
         return $articleList->isEmpty() ? [] : $articleList->toArray()['data'];
     }
 
@@ -158,7 +160,7 @@
     {
         // 获取头条数据
         $model = new Article;
-        $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum']);
+        $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum'],0);
         return $articleList->isEmpty() ? [] : $articleList->toArray()['data'];
     }
 

--
Gitblit v1.9.2