You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
720 B
35 lines
720 B
<?php
|
|
|
|
namespace app\common\enum;
|
|
|
|
class WholesalerEnum extends EnumBasics
|
|
{
|
|
//待审核
|
|
const AUDITING = 10;
|
|
// 已通过
|
|
const ADOPT = 20;
|
|
// 已拒绝
|
|
const REFUSE = 30;
|
|
|
|
/**
|
|
* 获取枚举数据
|
|
* @return array
|
|
*/
|
|
public static function data(): array
|
|
{
|
|
return [
|
|
self::AUDITING => [
|
|
'name' => '待审核',
|
|
'value' => self::AUDITING,
|
|
],
|
|
self::ADOPT => [
|
|
'name' => '已通过',
|
|
'value' => self::ADOPT,
|
|
],
|
|
self::REFUSE => [
|
|
'name' => '已拒绝',
|
|
'value' => self::REFUSE,
|
|
],
|
|
];
|
|
}
|
|
} |