This commit is contained in:
2026-06-27 21:12:04 +08:00
parent e0c51f77ca
commit 7f52e0bdd4
206 changed files with 17334 additions and 2707 deletions
@@ -113,21 +113,22 @@ namespace Assets.MyGame.Scripts.Net
/// <summary>
/// 获取公告列表(POST)
/// 返回:List&lt;GetEmailByPageResponse&gt;
/// 参数:keyWord/pageIndex/pageSize
/// 返回:List&lt;NoticeDto&gt;
/// </summary>
public static void GetNoticeList(Action<List<GetEmailByPageResponse>> callback)
public static void GetNoticeList(NoticeListObj req, Action<List<NoticeDto>> callback)
{
//APIManager.Response<List<GetEmailByPageResponse>>(APIType.Notice_List, new { }, callback);
APIManager.Response<List<NoticeDto>>(APIType.Notice_List, req, callback);
}
/// <summary>
/// 获取公告详情,未读自动变为已读(GET)
/// 获取公告详情(GET)
/// 参数:公告 id
/// 返回:GetEmailByPageResponse
/// 返回:NoticeDto
/// </summary>
public static void GetNotice(GetEmailParam req, Action<GetEmailByPageResponse> callback)
public static void GetNotice(NoticeIdParam req, Action<NoticeDto> callback)
{
APIManager.Response<GetEmailByPageResponse>(APIType.Notice_Get, req, callback);
APIManager.Response<NoticeDto>(APIType.Notice_Get, req, callback);
}
#endregion