From e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 17 Jan 2026 17:58:01 +0800
Subject: [PATCH] 团购组件增加筛选

---
 admin/app/shop/controller/branch/Setting.php |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/admin/app/shop/controller/branch/Setting.php b/admin/app/shop/controller/branch/Setting.php
index 25ae2cb..ac43803 100644
--- a/admin/app/shop/controller/branch/Setting.php
+++ b/admin/app/shop/controller/branch/Setting.php
@@ -5,7 +5,7 @@
 
 use app\common\model\settings\Setting as SettingModel;
 use app\shop\controller\Controller;
-use app\shop\model\branch\Setting as branchSettingModel;
+use app\shop\model\branch\Setting as BranchSettingModel;
 
 /**
  * 连盟设置控制器
@@ -31,7 +31,7 @@
     public function index()
     {
         $pay_type = $this->pay_type;
-        $data = branchSettingModel::getAll();
+        $data = BranchSettingModel::getAll();
         return $this->renderSuccess('', compact('data', 'pay_type'));
     }
 
@@ -56,11 +56,21 @@
     }
 
     /**
+     * 入会协议设置
+     */
+    public function words()
+    {
+        $param = $this->postData();
+        $data['words'] = $param;
+        return $this->edit($data);
+    }
+
+    /**
      * 修改
      */
     public function edit($data)
     {
-        $model = new branchSettingModel;
+        $model = new BranchSettingModel;
         if ($model->edit($data)) {
             return $this->renderSuccess('更新成功');
         }

--
Gitblit v1.9.2