为各服务接口补 /// 中文注释: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
@@ -19,6 +19,9 @@ public class NoticeController : BaseController
_noticeService = noticeService;
}
/// <summary>
/// 添加系统公告
/// </summary>
[HttpPost("add")]
public async Task<BaseResponse<string>> AddNotice([FromBody] AddNoticeParam param)
{
@@ -28,6 +31,9 @@ public class NoticeController : BaseController
: this.ToFailResult<string>(result.msg);
}
/// <summary>
/// 修改系统公告
/// </summary>
[HttpPost("update")]
public async Task<BaseResponse<string>> UpdateNotice([FromBody] UpdateNoticeParam param)
{
@@ -37,6 +43,9 @@ public class NoticeController : BaseController
: this.ToFailResult<string>(result.msg);
}
/// <summary>
/// 删除公告
/// </summary>
[HttpGet("delete")]
public async Task<BaseResponse<string>> DeleteNotice([FromQuery] string id)
{
@@ -46,6 +55,9 @@ public class NoticeController : BaseController
: this.ToFailResult<string>(result.msg);
}
/// <summary>
/// 获取系统公告列表
/// </summary>
[HttpPost("list")]
public async Task<PageResponse<NoticeListItemDto>> GetNoticeList([FromBody] GetNoticeListParam param)
{
@@ -63,6 +75,9 @@ public class NoticeController : BaseController
return this.ToPageResult(dtos, (int)count);
}
/// <summary>
/// 根据ID获取公告详情
/// </summary>
[HttpGet("get")]
[AllowAnonymous]
public async Task<BaseResponse<NoticeDto>> GetNotice([FromQuery] string id)