道具商城调整。

This commit is contained in:
2026-01-03 14:51:53 +08:00
parent 618623432a
commit 891087cf7a

View File

@@ -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']."";