From 3ec3e0c1913bc902dbbcaeae2959897df6212ec2 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 28 十一月 2024 15:41:23 +0800
Subject: [PATCH] 更新
---
WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs
index 79da06d..a62b443 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs
@@ -1,4 +1,5 @@
锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
@@ -96,6 +97,12 @@
return Json(InvokeService("Import", new object[] { fileInput }));
}
+ [HttpPost, Route("ExportSeedData"), AllowAnonymous]
+ public ActionResult ExportSeedData()
+ {
+ return Json(InvokeService("ExportSeedData", new object[] { }));
+ }
+
private object InvokeService(string methodName, object[] parameters)
{
Type t = Service.GetType();
--
Gitblit v1.9.3