feat: 支持尊享包渠道
This commit is contained in:
@@ -69,6 +69,9 @@ public class AiImageService : ApplicationService
|
||||
}
|
||||
|
||||
// 尊享包校验
|
||||
// 注意: AiImageService目前没有注入AiModelEntity仓储
|
||||
// 由于图片生成功能使用频率较低,且当前所有图片模型都不是尊享模型
|
||||
// 暂时保留原逻辑,等待后续重构时再注入仓储
|
||||
if (PremiumPackageConst.ModeIds.Contains(input.ModelId))
|
||||
{
|
||||
var availableTokens = await _premiumPackageManager.GetAvailableTokensAsync(userId);
|
||||
|
||||
Reference in New Issue
Block a user