28 lines
769 B
C#
28 lines
769 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DeluxeBackend.Controllers.Api
|
|
{
|
|
[Route("api/communityboard")]
|
|
[ApiController]
|
|
public class CommunityBoardController : ControllerBase
|
|
{
|
|
[HttpGet("v2/current")]
|
|
[Authorize(Roles = "gameClient")]
|
|
public async Task<IActionResult> Current()
|
|
{
|
|
return Ok(new
|
|
{
|
|
CurrentAnnouncement = new Dictionary<string, object>()
|
|
{
|
|
["Message"] = ":3",
|
|
["MoreInfoUrl"] = ""
|
|
},
|
|
InstagramImages = new List<object>(),
|
|
Videos = new List<object>(),
|
|
});
|
|
}
|
|
}
|
|
}
|