From 097a5f9e524acd965fa2abcfd18db30fc3f00ddb Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 11 Dec 2025 16:25:55 +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