Add remaining project files
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user