hutongqing
2024-08-21 cb683bbc5db174d236fafd35e833993201a3bad2
WIDESEAWCS_Server/WIDESEAWCS_Core/BaseController/ApiBaseController.cs
@@ -1,4 +1,5 @@
using 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();