From 891087cf7a110475572b1e4deca23af6ded3ed00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Sat, 3 Jan 2026 14:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E5=85=B7=E5=95=86=E5=9F=8E=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Decorate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/model/Decorate.php b/application/api/model/Decorate.php index 35cb6bf9..b9dcb6ee 100644 --- a/application/api/model/Decorate.php +++ b/application/api/model/Decorate.php @@ -96,6 +96,7 @@ class Decorate extends Model $v['play_image'] = localpath_to_netpath($v['play_image']); $v['price'] = (int)$v['price']; if(isset($v['discount']) && ($v['discount']<=0 || $v['discount']>=10)){ + $v['discount'] = 0; $v['discount_str'] = "无折扣"; }else{ $v['discount_str'] = $v['discount']."折";