1
This commit is contained in:
@@ -82,5 +82,28 @@ namespace Assets.MyGame.Scripts.Net
|
||||
}, callback);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Notice_公告
|
||||
|
||||
/// <summary>
|
||||
/// 获取公告列表(POST)
|
||||
/// 返回:List<GetEmailByPageResponse>
|
||||
/// </summary>
|
||||
public static void GetNoticeList(Action<List<GetEmailByPageResponse>> callback)
|
||||
{
|
||||
//APIManager.Response<List<GetEmailByPageResponse>>(APIType.Notice_List, new { }, callback);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取公告详情,未读自动变为已读(GET)
|
||||
/// 参数:公告 id
|
||||
/// 返回:GetEmailByPageResponse
|
||||
/// </summary>
|
||||
public static void GetNotice(GetEmailParam req, Action<GetEmailByPageResponse> callback)
|
||||
{
|
||||
APIManager.Response<GetEmailByPageResponse>(APIType.Notice_Get, req, callback);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user