为各服务接口补 /// 中文注释:swagger 恢复中文说明(admin 203 / user 93 / customer 12 / fishgame 4)
This commit is contained in:
@@ -23,6 +23,9 @@ namespace UserApi.Notices
|
||||
_noticeService = noticeService;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取系统公告列表(分页)
|
||||
/// </summary>
|
||||
[HttpPost("list")]
|
||||
public async Task<PageResponse<NoticeDto>> GetNoticeList(GetNoticeListParam param)
|
||||
{
|
||||
@@ -41,6 +44,9 @@ namespace UserApi.Notices
|
||||
return this.ToPageResult(dtos, (int)result.count);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据ID获取公告详情
|
||||
/// </summary>
|
||||
[HttpGet("get")]
|
||||
[AllowAnonymous]
|
||||
public async Task<BaseResponse<NoticeDto>> GetNotice(string id)
|
||||
@@ -64,6 +70,9 @@ namespace UserApi.Notices
|
||||
return this.ToResult(dto);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个最新的公告
|
||||
/// </summary>
|
||||
[HttpGet("get/newone")]
|
||||
[AllowAnonymous]
|
||||
public async Task<BaseResponse<NoticeDto>> GetNewOne()
|
||||
|
||||
Reference in New Issue
Block a user