From 9e841f9489bf21c59e76b1722e5a90d5a6d8c971 Mon Sep 17 00:00:00 2001
From: zgq <519541279@qq.com>
Date: 星期二, 19 一月 2021 23:52:53 +0800
Subject: [PATCH] nothing
---
WebAPI/Properties/PublishProfiles/PDAWeb.pubxml.user | 6 +++---
WebAPI/WebAPI.csproj.user | 2 +-
WebAPI/Controllers/WebAPIController.cs | 27 +++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs
index a811605..d73605a 100644
--- a/WebAPI/Controllers/WebAPIController.cs
+++ b/WebAPI/Controllers/WebAPIController.cs
@@ -329,6 +329,33 @@
}
+ //鍒犻櫎琛ㄨ褰�
+ [Route("Web/Delete_Table")]
+ [HttpGet]
+ public object Delete_Table(string sqlStr)
+ {
+ try
+ {
+ //SQLHelper oCn;
+ SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+ oCN.RunProc(sqlStr);
+ objJsonResult.code = "0";
+ objJsonResult.count = 1;
+ objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+ objJsonResult.data = null;
+ return objJsonResult;
+ }
+ catch (Exception)
+ {
+ objJsonResult.code = "0";
+ objJsonResult.count = 0;
+ objJsonResult.Message = "鍒犻櫎澶辫触锛佸紓甯�";
+ objJsonResult.data = null;
+ return objJsonResult;
+ }
+
+ }
+
#region 鍩虹璧勬枡
/// <summary>
/// 鑾峰彇浠撳簱鍒楄〃
diff --git a/WebAPI/Properties/PublishProfiles/PDAWeb.pubxml.user b/WebAPI/Properties/PublishProfiles/PDAWeb.pubxml.user
index 70aba46..8836b83 100644
--- a/WebAPI/Properties/PublishProfiles/PDAWeb.pubxml.user
+++ b/WebAPI/Properties/PublishProfiles/PDAWeb.pubxml.user
@@ -172,13 +172,13 @@
<publishTime>11/24/2014 11:18:48</publishTime>
</File>
<File Include="bin/WebAPI.dll">
- <publishTime>01/19/2021 22:22:11</publishTime>
+ <publishTime>01/19/2021 23:08:17</publishTime>
</File>
<File Include="bin/WebAPI.pdb">
- <publishTime>01/19/2021 22:22:11</publishTime>
+ <publishTime>01/19/2021 23:08:17</publishTime>
</File>
<File Include="bin/WebAPI.XmlSerializers.dll">
- <publishTime>01/19/2021 22:22:14</publishTime>
+ <publishTime>01/19/2021 23:08:21</publishTime>
</File>
<File Include="bin/WebGrease.dll">
<publishTime>07/17/2013 17:03:52</publishTime>
diff --git a/WebAPI/WebAPI.csproj.user b/WebAPI/WebAPI.csproj.user
index 6abc680..1d7d7d6 100644
--- a/WebAPI/WebAPI.csproj.user
+++ b/WebAPI/WebAPI.csproj.user
@@ -8,7 +8,7 @@
<WebStackScaffolding_LayoutPageFile />
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
<NameOfLastUsedPublishProfile>PDAWeb</NameOfLastUsedPublishProfile>
- <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
+ <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>false</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />
--
Gitblit v1.9.1