FastMovieAI 二开基线 v1.0 (完整源码)
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\shortplay\utils\enum;
|
||||
|
||||
use app\expose\enum\builder\Enum;
|
||||
|
||||
class PropStatus extends Enum
|
||||
{
|
||||
const INITIALIZING = [
|
||||
'label' => '待初始化',
|
||||
'value' => 'initializing',
|
||||
'props' => [
|
||||
'type' => 'primary'
|
||||
]
|
||||
];
|
||||
const PENDING = [
|
||||
'label' => '初始化中',
|
||||
'value' => 'pending',
|
||||
'props' => [
|
||||
'type' => 'warning'
|
||||
]
|
||||
];
|
||||
const GENERATED = [
|
||||
'label' => '已生成',
|
||||
'value' => 'generated',
|
||||
'props' => [
|
||||
'type' => 'success'
|
||||
]
|
||||
];
|
||||
const FAILED = [
|
||||
'label' => '生成失败',
|
||||
'value' => 'failed',
|
||||
'props' => [
|
||||
'type' => 'danger'
|
||||
]
|
||||
];
|
||||
const CANCELLED = [
|
||||
'label' => '已取消',
|
||||
'value' => 'cancelled',
|
||||
'props' => [
|
||||
'type' => 'info'
|
||||
]
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user