饭太稀

This commit is contained in:
bob
2025-06-30 10:51:37 +08:00
commit 8e45469c83
753 changed files with 87652 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using Microsoft.AspNetCore.Mvc;
namespace Fantasy;
[ApiController]
[Route("api/[controller]")]
public class ProductsController : ControllerBase
{
[HttpPost]
public IActionResult MiniGame ([FromBody] Product product)
{
// 假设已经保存产品数据
return Ok("Product created successfully");
}
}
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
}