修复错误

This commit is contained in:
mkm 2024-01-13 17:01:17 +08:00
parent c17c775040
commit b663064eaf

View File

@ -65,13 +65,13 @@ class BidBiddingDecision extends BaseModel
public function getIsMarginTextAttr($value,$data): string
{
$is_margin = [0=>'', 1=>'是'];
$is_margin = [0=>'', 1=>'是',2=>'否'];
return $is_margin[$data['is_margin']];
}
public function getIsInternalResourcesTextAttr($value,$data): string
{
$is_internal_resources = [0=>'', 1=>'有'];
$is_internal_resources = [0=>'',1=>'有','2'=>'无'];
return $is_internal_resources[$data['is_internal_resources']];
}