This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/enum/dealer/ApplyStatus.php

45 lines
903 B
PHP
Raw Normal View History

2020-04-25 22:53:20 +08:00
<?php
namespace app\common\enum\dealer;
use app\common\enum\EnumBasics;
/**
* 枚举类:分销商入驻审核状态
* Class ApplyStatus
* @package app\common\enum\dealer
*/
class ApplyStatus extends EnumBasics
{
// 待审核
const AUDIT_WAIT = 10;
// 审核通过
const AUDIT_PASS = 20;
// 驳回
const AUDIT_REJECT = 30;
/**
* 获取枚举类型值
* @return array
*/
public static function data()
{
return [
self::AUDIT_WAIT => [
'name' => '待审核',
'value' => self::AUDIT_WAIT,
],
self::AUDIT_PASS => [
'name' => '审核通过',
'value' => self::AUDIT_PASS,
],
self::AUDIT_REJECT => [
'name' => '驳回',
'value' => self::AUDIT_REJECT,
],
];
}
}