From 2d9362ae6f528f57e6133d5d80f0b633c24e8eb6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 21 Nov 2025 18:02:26 +0800
Subject: [PATCH] 年卡管理 年卡购买
---
admin/app/common/service/business/Poster.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/app/common/service/business/Poster.php b/admin/app/common/service/business/Poster.php
index 5131fc8..1db14ca 100644
--- a/admin/app/common/service/business/Poster.php
+++ b/admin/app/common/service/business/Poster.php
@@ -539,8 +539,8 @@
// 正确的px到pt转换系数:1px = 0.75pt
// 使用0.75而不是0.76以确保字体大小显示准确
$data[0] = $fontSize * 0.75;
- $data[1] = $left;
- $data[2] = $top + $fontSize;
+ $data[1] = (float)$left;
+ $data[2] = (float)$top + $fontSize;
return $data;
}
--
Gitblit v1.9.2