52 lines
1.1 KiB
PHP
52 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace app\common\enum\dealer\withdraw;
|
|
|
|
use app\common\enum\EnumBasics;
|
|
|
|
/**
|
|
* 枚举类:分销商提现审核状态
|
|
* Class ApplyStatus
|
|
* @package app\common\enum\dealer\withdraw
|
|
*/
|
|
class ApplyStatus extends EnumBasics
|
|
{
|
|
// 待审核
|
|
const AUDIT_WAIT = 10;
|
|
|
|
// 审核通过
|
|
const AUDIT_PASS = 20;
|
|
|
|
// 驳回
|
|
const AUDIT_REJECT = 30;
|
|
|
|
// 已打款
|
|
const AUDIT_PAID = 40;
|
|
|
|
/**
|
|
* 获取枚举类型值
|
|
* @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,
|
|
],
|
|
self::AUDIT_PAID => [
|
|
'name' => '已打款',
|
|
'value' => self::AUDIT_PAID,
|
|
],
|
|
];
|
|
}
|
|
|
|
} |