From 898043fc97d2ab8b793fd317a049b874ed207c6d Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 10 Dec 2025 20:12:31 +0800
Subject: [PATCH] 商户添加分类

---
 admin/app/common/model/supplier/member/Plan.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/app/common/model/supplier/member/Plan.php b/admin/app/common/model/supplier/member/Plan.php
index 0f22cb4..314289f 100644
--- a/admin/app/common/model/supplier/member/Plan.php
+++ b/admin/app/common/model/supplier/member/Plan.php
@@ -26,7 +26,7 @@
      */
     public function getEnabledPlans()
     {
-        return $this->where(['status' => 1, 'app_id' => self::$app_id])
+        return $this->where(['status' => 1, 'is_default' =>0])
             ->order(['sort' => 'asc', 'create_time' => 'desc'])
             ->select();
     }

--
Gitblit v1.9.2