feat: 添加新的错误码以支持配置版本管理,更新彩票配置以启用手动审核,增强 API 路由以支持玩法和赔率版本化管理
This commit is contained in:
18
app/Lottery/ConfigVersionStatus.php
Normal file
18
app/Lottery/ConfigVersionStatus.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Lottery;
|
||||
|
||||
/**
|
||||
* 玩法配置 / 赔率 / 风控封顶 共用版本状态(play_config_versions 等表 {@see status})。
|
||||
*/
|
||||
enum ConfigVersionStatus: string
|
||||
{
|
||||
/** 草稿:可整表替换 items */
|
||||
case Draft = 'draft';
|
||||
|
||||
/** 当前对玩家与下注逻辑生效的版本(每类最多一条) */
|
||||
case Active = 'active';
|
||||
|
||||
/** 已被新版本替代,仅作历史查询 */
|
||||
case Archived = 'archived';
|
||||
}
|
||||
Reference in New Issue
Block a user