update 20250505
This commit is contained in:
@@ -51,6 +51,23 @@ namespace ILMocup.Controllers
|
||||
return Content(HttpStatusCode.OK, rs);
|
||||
}
|
||||
|
||||
public IHttpActionResult Revision()
|
||||
{
|
||||
string json = "";
|
||||
string rs = RandomString(6);
|
||||
if (HttpContext.Current.Request.InputStream.Length > 0)
|
||||
{
|
||||
using (var inputStream = new StreamReader(HttpContext.Current.Request.InputStream))
|
||||
{
|
||||
json = inputStream.ReadToEnd();
|
||||
}
|
||||
}
|
||||
string filename = @"X:\jsontemp\ILMockup" + @"\Revision_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + "_" + rs + ".json";
|
||||
System.IO.File.WriteAllText(filename, json);
|
||||
|
||||
|
||||
return Content(HttpStatusCode.OK, rs);
|
||||
}
|
||||
private static Random random = new Random();
|
||||
|
||||
public static string RandomString(int length)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
2f10009db339f0e068a3fbb051f4636c78e8455512654595c7ff75d5c0e89f73
|
||||
343e4b2f3399090261e6d33e627f896a1678cdb890f1fd0341128d47999e4d39
|
||||
|
||||
@@ -93,3 +93,5 @@ E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\de\System.Web.WebPages.Razor.resour
|
||||
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.csproj.Up2Date
|
||||
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\Swashbuckle.Core.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\WebActivatorEx.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user