修复星海小博士随机事件金币/经验不记日志:改走UserCurrencyService.change(),新增CurrencySource::AUTO_EVENT枚举

This commit is contained in:
2026-03-01 20:54:15 +08:00
parent 955aec6b73
commit dfa7278184
2 changed files with 28 additions and 6 deletions
+4
View File
@@ -78,6 +78,9 @@ enum CurrencySource: string
/** 百家乐中奖赔付(收入金币,含本金返还) */
case BACCARAT_WIN = 'baccarat_win';
/** 星海小博士随机事件(好运/坏运/经验/金币奖惩) */
case AUTO_EVENT = 'auto_event';
/**
* 返回该来源的中文名称,用于后台统计展示。
*/
@@ -103,6 +106,7 @@ enum CurrencySource: string
self::HOLIDAY_BONUS => '节日福利',
self::BACCARAT_BET => '百家乐下注',
self::BACCARAT_WIN => '百家乐赢钱',
self::AUTO_EVENT => '随机事件(星海小博士)',
};
}
}