32 lines
931 B
C#
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>());
|
|
}
|
|
}
|
|
}
|