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/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