From 038fedc8a0bfb61f0894b8879838001d3847aaa6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 23 Dec 2025 18:06:57 +0800
Subject: [PATCH] 修改供需求发布报错 需求发布底部导航发布点击弹出需求和供应发布 后台链接添加商家列表链接

---
 admin/app/common/model/plus/shareholder/Apply.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/admin/app/common/model/plus/shareholder/Apply.php b/admin/app/common/model/plus/shareholder/Apply.php
index e0ec886..8df71c5 100644
--- a/admin/app/common/model/plus/shareholder/Apply.php
+++ b/admin/app/common/model/plus/shareholder/Apply.php
@@ -150,6 +150,7 @@
         }
         if ($config['become'] == '110'){
             $subordinateUserId=(new TeamRefereeModel())->where(['heads_id'=>$userId])->column('user_id');
+            $subordinateUserId[]=$userId;
             $vipNum=(new \app\common\model\user\User)->getRefereeGradeCount($subordinateUserId,$config['referee_grade_ids']);
             $supplierNum=(new \app\common\model\supplier\Supplier())->getSubordinateNum($subordinateUserId);
             $user=(new \app\common\model\user\User)->where(['user_id'=>$userId,'is_delete'=>0])->find();

--
Gitblit v1.9.2