From d729c91f610c8902fcec2444df6cac7b1c2e1002 Mon Sep 17 00:00:00 2001
From: liyaozhi <lzhflash@163.com>
Date: Thu, 27 Nov 2025 21:06:20 +0800
Subject: [PATCH] 修复连盟管理PC端无法添加管理员的问题

---
 admin/app/common/model/branch/Branch.php |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/admin/app/common/model/branch/Branch.php b/admin/app/common/model/branch/Branch.php
index b1a92ef..585e6db 100644
--- a/admin/app/common/model/branch/Branch.php
+++ b/admin/app/common/model/branch/Branch.php
@@ -33,6 +33,14 @@
     }
 
     /**
+     * 关联logo
+     */
+    public function logo()
+    {
+        return $this->hasOne('app\\common\\model\\file\\UploadFile', 'file_id', 'logo_id');
+    }
+
+    /**
      * 关联超管
      */
     public function superUser()

--
Gitblit v1.9.2