Files
2026-07-23 18:21:43 -07:00

32 lines
931 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using static DeluxeBackend.Enums;
namespace DeluxeBackend.Controllers.Api
{
[Route("api/storefronts")]
[ApiController]
public class StorefrontsController : ControllerBase
{
[HttpGet("v3/giftdropstore/{type}")]
[Authorize]
public async Task<IActionResult> Thread([FromRoute] StorefrontType type)
{
return Ok(new
{
StorefrontType = (int)type,
NextUpdate = DateTime.MaxValue.ToString("O"),
StoreItems = new List<object>(),
SubscriberDiscountPercent = 0
});
}
[HttpGet("v4/balance/{type}")]
[Authorize]
public async Task<IActionResult> Thread([FromRoute] PMKKDOJNMGM type)
{
return Ok(new List<object>());
}
}
}