更新框架,增加云库搜索模块

This commit is contained in:
chfei committed 2026-09-18 18:40:10 +08:00
1 parent 8526e5e0d2
commit f2caec6083
192 files changed
+3626 -804

No files matched your search

@@ -0,0 +1,41 @@
using Asp.Versioning;
using Microsoft.AspNetCore.Mvc;
using StoreHub.KJDWebService.Services;
namespace StoreHub.KJDWebService.Controllers
{
[ApiController]
[ApiVersionNeutral]
[Route("ToolService/[action]")]
public class ToolController : BaseApiController
{
private readonly ToolService _toolService;
public ToolController(ToolService toolService)
{
_toolService = toolService;
}
[AcceptVerbs("GET", "POST")]
public IActionResult hello_world()
{
return Content("Hello World");
}
[AcceptVerbs("GET", "POST")]
public IActionResult create_table()
{
//return;
_toolService.CreateTable();
return Content("");
}
}
}