为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)
This commit is contained in:
@@ -19,6 +19,9 @@ namespace UserApi.GameConfigs
|
||||
_gameConfigService = gameConfigService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取活动配置 - 一次性返回全部活动配置(含战令、抽奖的商品信息补全)
|
||||
/// </summary>
|
||||
[HttpGet]
|
||||
public async Task<BaseResponse<ActivityConfig>> Get()
|
||||
{
|
||||
@@ -30,6 +33,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToResult(config ?? new ActivityConfig());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 钻石商城列表
|
||||
/// </summary>
|
||||
[HttpGet("diamondShopList")]
|
||||
public async Task<ListResponse<DiamondShopConfig>> GetDiamondShopList()
|
||||
{
|
||||
@@ -37,6 +43,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToListResult(config?.DiamondShopConfigs ?? new List<DiamondShopConfig>());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 金币商城列表
|
||||
/// </summary>
|
||||
[HttpGet("goldShopList")]
|
||||
public async Task<ListResponse<GoldShopConfig>> GetGoldShopList()
|
||||
{
|
||||
@@ -44,6 +53,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToListResult(config?.GoldShopConfigs ?? new List<GoldShopConfig>());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 签到配置
|
||||
/// </summary>
|
||||
[HttpGet("signConfig")]
|
||||
public async Task<BaseResponse<SignActivityConfig>> GetSignConfig()
|
||||
{
|
||||
@@ -51,6 +63,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToResult(config?.SignActivityConfig ?? new SignActivityConfig());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 救济金配置
|
||||
/// </summary>
|
||||
[HttpGet("reliefConfig")]
|
||||
public async Task<BaseResponse<ReliefConfig>> GetReliefConfig()
|
||||
{
|
||||
@@ -61,6 +76,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToFailResult<ReliefConfig>("配置不存在");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 注册配置
|
||||
/// </summary>
|
||||
[HttpGet("registerConfig")]
|
||||
public async Task<BaseResponse<RegisterConfig>> GetRegisterConfig()
|
||||
{
|
||||
@@ -71,6 +89,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToFailResult<RegisterConfig>("配置不存在");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 捕鱼返金币活动配置
|
||||
/// </summary>
|
||||
[HttpGet("fishingReturnConfig")]
|
||||
public async Task<BaseResponse<FishingReturnConfig>> GetFishingReturnConfig()
|
||||
{
|
||||
@@ -81,6 +102,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToFailResult<FishingReturnConfig>("配置不存在");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 战令配置
|
||||
/// </summary>
|
||||
[HttpGet("battleOrderConfig")]
|
||||
public async Task<BaseResponse<BattleOrderConfig>> GetBattleOrderConfig()
|
||||
{
|
||||
@@ -94,6 +118,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToFailResult<BattleOrderConfig>("配置不存在");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 奖池抽奖活动配置
|
||||
/// </summary>
|
||||
[HttpGet("lotteryConfig")]
|
||||
public async Task<BaseResponse<LotteryActivityConfig>> GetLotteryConfig()
|
||||
{
|
||||
@@ -107,6 +134,9 @@ namespace UserApi.GameConfigs
|
||||
return this.ToFailResult<LotteryActivityConfig>("配置不存在");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排行榜奖励配置
|
||||
/// </summary>
|
||||
[HttpGet("rankingRewardConfig")]
|
||||
public async Task<BaseResponse<RankingRewardConfig>> GetRankingRewardConfig()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user