From 121b714d710cf3c865f4a1b5efe81abec11056d1 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 01 Nov 2025 14:36:36 +0800
Subject: [PATCH] 修复名片模板生成失败问题 修复后台名片查看不显示头像和logo问题

---
 admin/app/common/model/plus/business/Saving.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/app/common/model/plus/business/Saving.php b/admin/app/common/model/plus/business/Saving.php
index 540df76..7b64a87 100644
--- a/admin/app/common/model/plus/business/Saving.php
+++ b/admin/app/common/model/plus/business/Saving.php
@@ -31,7 +31,7 @@
         !empty($paramL['user_id'])&&$where['user_id']=$paramL['user_id'];
         !empty($paramL['affiliation_id'])&&$where['affiliation_id']=$paramL['affiliation_id'];
         !empty($paramL['type'])&&$where['type']=$paramL['type'];
-        return $this->with(['user'=>['businessCard'=>['image','logoImage']],'affiliation','business'=>['image']])->order('create_time','desc')->where($where)->paginate($paramL);
+        return $this->with(['user','affiliation','business'=>['image']])->order('create_time','desc')->where($where)->paginate($paramL);
     }
 
     /**

--
Gitblit v1.9.2