修复错误
This commit is contained in:
parent
c17c775040
commit
b663064eaf
@ -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']];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user