From cc86d0ae6e6cfbcf73e49b415a10030587564f2e Mon Sep 17 00:00:00 2001 From: linda Date: Thu, 29 Oct 2026 09:56:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(service):=20=E5=8F=96=E6=B6=88=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E4=BB=B7=E6=A0=BC=E8=B5=B7=E6=AD=A5=E4=BB=B7=E6=96=87?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 一口价直接显示金额,不再显示 ¥xx起 - 师傅报价显示参考金额 + 师傅报价,不再显示起 - 区间计价保持 ¥min-max/单位 - 计价逻辑、基础价字段与后台配置不变 --- server/application/api/controller/Home.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/application/api/controller/Home.php b/server/application/api/controller/Home.php index b97af42..376318b 100644 --- a/server/application/api/controller/Home.php +++ b/server/application/api/controller/Home.php @@ -348,11 +348,11 @@ class Home extends Base public function formatService($row) { $type = $row['price_type']; - $priceText = '¥' . (float)$row['base_price'] . '起'; + $priceText = '¥' . (float)$row['base_price']; if ($type === 'range') { $priceText = '¥' . (float)$row['base_price'] . '-' . (float)$row['max_price'] . '/' . $row['unit']; } elseif ($type === 'quote') { - $priceText = '¥' . (float)$row['base_price'] . '起 · 师傅报价'; + $priceText = '¥' . (float)$row['base_price'] . ' · 师傅报价'; } return [ 'id' => (int)$row['id'],