FastMovieAI AI短剧创作平台 二开基线

- 源码: xhadmincn/FastMovieAI (Apache 2.0)
- 二开: Docker部署, Swoole改Select, route.php修复, 补update/VERSION
- vendor/示例资源已gitignore
This commit is contained in:
李建琦
2026-08-26 18:37:36 +08:00
commit eae151fd57
888 changed files with 105571 additions and 0 deletions
@@ -0,0 +1,16 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class BillScene extends Enum
{
const ADMIN = [
'label' => '管理员操作',
'value' => 'admin',
'props' => [
'type' => 'info'
]
];
}
@@ -0,0 +1,44 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class OrdersLogLevel extends Enum
{
const INFO = [
'label' => '普通',
'value' => 'info',
'props' => [
'type' => 'info'
]
];
const ERROR = [
'label' => '错误',
'value' => 'error',
'props' => [
'type' => 'danger'
]
];
const WARNING = [
'label' => '警告',
'value' => 'warning',
'props' => [
'type' => 'warning'
]
];
const SUCCESS = [
'label' => '成功',
'value' => 'success',
'props' => [
'type' => 'success'
]
];
const FAIL = [
'label' => '失败',
'value' => 'fail',
'props' => [
'type' => 'danger'
]
];
}
@@ -0,0 +1,79 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class OrdersState extends Enum
{
const WAIT_PAY = [
'label' => '待支付',
'value' => 0,
'props' => [
'type' => 'info'
]
];
const PAID = [
'label' => '已支付',
'value' => 10,
'props' => [
'type' => 'warning'
]
];
const WAIT_VERIFIED = [
'label' => '待验证',
'value' => 11,
'props' => [
'type' => 'warning'
]
];
const FINISH = [
'label' => '已完成',
'value' => 20,
'props' => [
'type' => 'success'
]
];
const REFUND_ING = [
'label' => '退款中',
'value' => 30,
'props' => [
'type' => 'warning'
]
];
const REFUND_SUCCESS = [
'label' => '退款成功',
'value' => 40,
'props' => [
'type' => 'success'
]
];
const REFUND_FAIL = [
'label' => '退款失败',
'value' => 50,
'props' => [
'type' => 'danger'
]
];
const INVALID = [
'label' => '作废',
'value' => 60,
'props' => [
'type' => 'danger'
]
];
const NOTIFY_FAIL = [
'label' => '通知失败',
'value' => 70,
'props' => [
'type' => 'danger'
]
];
const CANCEL = [
'label' => '已取消',
'value' => 99,
'props' => [
'type' => 'info'
]
];
}
@@ -0,0 +1,25 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class OrdersType extends Enum
{
const POINTS = [
'label' => '充值',
'value' => 'points',
'props' => [
'type' => 'danger',
'allow_payment' => ['wxpay', 'alipay']
]
];
const VIP = [
'label' => '会员',
'value' => 'vip',
'props' => [
'type' => 'success',
'allow_payment' => ['wxpay', 'alipay']
]
];
}
@@ -0,0 +1,58 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class PointsBillScene extends Enum
{
const ADMIN = [
'label' => '管理员操作',
'value' => 'admin',
'props' => [
'type' => 'warning'
]
];
const RECHARGE = [
'label' => '充值',
'value' => 'recharge',
'props' => [
'type' => 'success'
]
];
const VIP_UPGRADE = [
'label' => 'VIP升级',
'value' => 'vip_upgrade',
'props' => [
'type' => 'success'
]
];
const REGISTER = [
'label' => '注册',
'value' => 'register',
'props' => [
'type' => 'warning'
]
];
const INVITE = [
'label' => '邀请',
'value' => 'invite',
'props' => [
'type' => 'warning'
]
];
const CONSUME = [
'label' => '消费',
'value' => 'consume',
'props' => [
'type' => 'primary'
]
];
const REFUNDED = [
'label' => '退款',
'value' => 'refunded',
'props' => [
'type' => 'danger'
]
];
}
@@ -0,0 +1,23 @@
<?php
namespace plugin\finance\utils\enum;
use app\expose\enum\builder\Enum;
class ValidityPeriod extends Enum
{
const TEMPORARY = [
'label' => '临时',
'value' => 'temporary',
'props' => [
'type' => 'info'
]
];
const PERMANENT = [
'label' => '永久',
'value' => 'permanent',
'props' => [
'type' => 'success'
]
];
}