1
This commit is contained in:
@@ -113,21 +113,22 @@ namespace Assets.MyGame.Scripts.Net
|
||||
|
||||
/// <summary>
|
||||
/// 获取公告列表(POST)
|
||||
/// 返回:List<GetEmailByPageResponse>
|
||||
/// 参数:keyWord/pageIndex/pageSize
|
||||
/// 返回:List<NoticeDto>
|
||||
/// </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
|
||||
|
||||
Reference in New Issue
Block a user