admin add claim

This commit is contained in:
xiaomlove
2022-07-02 15:08:23 +08:00
parent 579351c0eb
commit 5191a1ba9a
48 changed files with 992 additions and 293 deletions

View File

@@ -7,4 +7,12 @@ trait OptionsTrait
private static array $matchTypes = ['dec' => 'dec', 'hex' => 'hex'];
private static array $yesOrNo = ['yes' => 'yes', 'no' => 'no'];
private static function getEnableDisableOptions($enableValue = 0, $disableValue = 1): array
{
return [
$enableValue => __('label.enabled'),
$disableValue => __('label.disabled'),
];
}
}