为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)

This commit is contained in:
2026-10-19 00:44:00 +08:00
parent ff2b779a56
commit 466a4b1cea
39 changed files with 947 additions and 6 deletions
@@ -17,6 +17,9 @@ namespace AdminApi.GameConfigs
_botRepo = botRepo;
}
/// <summary>
/// 获取所有机器人配置
/// </summary>
[HttpGet("GetAll")]
public async Task<BaseResponse<List<BotProfileEntity>>> GetAll()
{
@@ -24,6 +27,9 @@ namespace AdminApi.GameConfigs
return this.ToResult(list.ToList());
}
/// <summary>
/// 添加机器人配置
/// </summary>
[HttpPost("Add")]
public async Task<BaseResponse<string>> Add(BotProfileEntity entity)
{
@@ -34,6 +40,9 @@ namespace AdminApi.GameConfigs
return this.ToResult("添加成功");
}
/// <summary>
/// 更新机器人配置
/// </summary>
[HttpPost("Update")]
public async Task<BaseResponse<string>> Update(BotProfileEntity entity)
{
@@ -50,6 +59,9 @@ namespace AdminApi.GameConfigs
return this.ToResult("更新成功");
}
/// <summary>
/// 删除机器人配置
/// </summary>
[HttpPost("Delete")]
public async Task<BaseResponse<string>> Delete([FromQuery] string id)
{