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/Grade.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/app/common/model/plus/business/Grade.php b/admin/app/common/model/plus/business/Grade.php
index 7674e9b..8bd706a 100644
--- a/admin/app/common/model/plus/business/Grade.php
+++ b/admin/app/common/model/plus/business/Grade.php
@@ -25,7 +25,7 @@
      */
     public static function detail($grade_id)
     {
-        return (new static())->find($grade_id);
+        return (new static())->where('grade_id', '=', $grade_id)->find();
     }
 
     /**

--
Gitblit v1.9.2