Files
fastmovieai/fastmovie-admin/plugin/model/utils/enum/ModelTaskStatus.php
T
李建琦 eae151fd57 FastMovieAI AI短剧创作平台 二开基线
- 源码: xhadmincn/FastMovieAI (Apache 2.0)
- 二开: Docker部署, Swoole改Select, route.php修复, 补update/VERSION
- vendor/示例资源已gitignore
2026-08-26 18:37:36 +08:00

59 lines
1.2 KiB
PHP

<?php
namespace plugin\model\utils\enum;
use app\expose\enum\builder\Enum;
class ModelTaskStatus extends Enum
{
const WAIT = [
'label' => '待处理',
'value' => 'wait',
'props' => [
'type' => 'info'
]
];
const PROCESSING = [
'label' => '处理中',
'value' => 'processing',
'props' => [
'type' => 'primary'
]
];
const WAIT_DOWNLOAD = [
'label' => '等待下载',
'value' => 'wait_download',
'props' => [
'type' => 'primary'
]
];
const DOWNLOADING = [
'label' => '下载中',
'value' => 'downloading',
'props' => [
'type' => 'primary'
]
];
const UPLOADING = [
'label' => '上传中',
'value' => 'uploading',
'props' => [
'type' => 'primary'
]
];
const SUCCESS = [
'label' => '成功',
'value' => 'success',
'props' => [
'type' => 'success'
]
];
const FAIL = [
'label' => '失败',
'value' => 'fail',
'props' => [
'type' => 'danger'
]
];
}