Update
parent
27dc7dd04c
commit
4fed927528
|
|
@ -13,15 +13,15 @@ enum DealerLvl: int {
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function text(): string
|
public static function texts(): array
|
||||||
{
|
{
|
||||||
return match ($this) {
|
return [
|
||||||
static::None => '普通用户',
|
static::None->value => '普通用户',
|
||||||
static::Gold => '金牌经销商',
|
static::Gold->value => '金牌经销商',
|
||||||
static::Special => '特邀经销商',
|
static::Special->value => '特邀经销商',
|
||||||
static::Contracted => '签约经销商',
|
static::Contracted->value => '签约经销商',
|
||||||
static::Secondary => '二级经销商',
|
static::Secondary->value => '二级经销商',
|
||||||
static::Top => '一级经销商',
|
static::Top->value => '一级经销商',
|
||||||
};
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue