generated from liutk/owl-admin-base
Update
parent
5c5a84157d
commit
cc696f9efe
|
|
@ -69,6 +69,30 @@ class AppVersion extends Model
|
|||
->value('apk_url');
|
||||
}
|
||||
|
||||
protected function apkUrl(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
set: function (mixed $value) {
|
||||
if ((string) $value === '') {
|
||||
$value = null;
|
||||
}
|
||||
return $value;
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
protected function wgtUrl(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
set: function (mixed $value) {
|
||||
if ((string) $value === '') {
|
||||
$value = null;
|
||||
}
|
||||
return $value;
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
protected function isRelease(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
|
|
|
|||
Loading…
Reference in New Issue