From adf46e209a824f5d206fe549a252fd0184533b3a Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Mon, 03 Nov 2025 16:17:48 +0800
Subject: [PATCH] 修复添加、编辑名片模板背景图为固定尺寸问题
---
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