mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
42 lines
519 B
C#
42 lines
519 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace RadicadeServer.Commerce;
|
|
|
|
[Route("commerce")]
|
|
public class CommercePlaceholderAPI : Controller
|
|
{
|
|
[HttpGet("purchase/v1/hasspentmoney")]
|
|
public bool HasSpentMoney()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[HttpGet("api/catalog/v1/all")]
|
|
public object GetCatalogAll()
|
|
{
|
|
return Array.Empty<object>();
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[HttpPost("purchase/v1/cleanuppending")]
|
|
public object CleanupPendingTransactions()
|
|
{
|
|
return new { };
|
|
}
|
|
}
|