From 69110c094343fa111eee75b0a56fef7dd7995f8a Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 25 Nov 2025 18:09:45 +0800
Subject: [PATCH] 修复优惠券点击立即使用弹出二维码问题 商家后台添加分销和超级分红 添加活动分享功能 添加商户提现功能

---
 admin/app/api/model/branch/Member.php |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/admin/app/api/model/branch/Member.php b/admin/app/api/model/branch/Member.php
index 7052205..a14aafc 100644
--- a/admin/app/api/model/branch/Member.php
+++ b/admin/app/api/model/branch/Member.php
@@ -69,10 +69,10 @@
      * @param $data
      * @return bool
      */
-    public function edit($data)
-    {
-        return $this->save($data) !== false;
-    }
+    // public function edit($data)
+    // {
+    //     return $this->save($data) !== false;
+    // }
 
     /**
      * 删除连盟成员
@@ -81,10 +81,7 @@
     public function setDelete()
     {
         return $this->transaction(function () {
-            // 标记当前股东记录为已删除
-            return $this->save([
-                'is_delete' => 1
-            ]);
+            return $this->delete();
         });
     }
     

--
Gitblit v1.9.2