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/plus/article/Article.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/admin/app/api/model/plus/article/Article.php b/admin/app/api/model/plus/article/Article.php
index 9dde123..d4f8bd0 100644
--- a/admin/app/api/model/plus/article/Article.php
+++ b/admin/app/api/model/plus/article/Article.php
@@ -56,9 +56,10 @@
     /**
      * 获取文章列表
      */
-    public function getList($category_id = 0, $params)
+    public function getList($category_id = 0, $params,$shop_supplier_id=-1)
     {
         $model = $this;
+        $shop_supplier_id >= 0 && $model = $model->where('shop_supplier_id', '=', $shop_supplier_id);
         $category_id > 0 && $model = $model->where('category_id', '=', $category_id);
         return $model ->with(['image', 'category'])
             ->where('article_status', '=', 1)

--
Gitblit v1.9.2