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,86 @@
<?php
namespace app\expose\enum;
use app\expose\enum\builder\Enum;
/**
* JSON响应Code静态常量
* Class ResponseCode
* @package app\expose\enum
*/
class ResponseCode extends Enum
{
/**
* 成功
*/
const SUCCESS = 200;
/**
* 等待
*/
const WAIT = 202;
/**
* 有事件通知
*/
const SUCCESS_EVENT_PUSH = 201;
/**
* 失败
*/
const FAIL = 404;
/**
* 需要登录
*/
const NEED_LOGIN = 12000;
/**
* 需要两步验证
*/
const NEED_TWOFA = 12001;
/**
* 验证码错误
*/
const CAPTCHA = 300;
/**
* 站点信息错误
*/
const SITE_ERROR = 400;
/**
* 需要支付
*/
const NEED_PAY = 9100;
/**
* 支付成功
*/
const PAY_SUCCESS = 9000;
/**
* 支付失败
*/
const PAY_FAIL = 9010;
/**
* 重定向
*/
const REDIRECT = 302;
/**
* 确认重定向
*/
const REDIRECT_CONFIRM = 303;
/**
* 打开新窗口
*/
const OPEN_NEW_WINDOW = 304;
/**
* 确认打开新窗口
*/
const OPEN_NEW_WINDOW_CONFIRM = 305;
/**
* 无权限
*/
const NO_PERMISSION = 403;
/**
* 需要绑定电话
*/
const NEED_BIND_MOBILE = 12002;
/**
* 锁定
*/
const LOCK = 423;
}