From d8d8ec2889b50477b2952240428250196092c318 Mon Sep 17 00:00:00 2001 From: falcon <9504402@qq.com> Date: Thu, 28 Feb 2019 16:29:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0HIS=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=99=A8=EF=BC=8CHIS=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=99=A8=EF=BC=8C=E4=B8=87=E4=BB=95=E8=BE=BE?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8E=A7=E5=88=B6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebSiteCode/WebSiteCode/Controllers/His.cs | 20 +++++++++++++ .../WebSiteCode/Controllers/HisTest.cs | 28 +++++++++++++++++++ WebSiteCode/WebSiteCode/Controllers/Wsd.cs | 22 +++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 WebSiteCode/WebSiteCode/Controllers/His.cs create mode 100644 WebSiteCode/WebSiteCode/Controllers/HisTest.cs create mode 100644 WebSiteCode/WebSiteCode/Controllers/Wsd.cs diff --git a/WebSiteCode/WebSiteCode/Controllers/His.cs b/WebSiteCode/WebSiteCode/Controllers/His.cs new file mode 100644 index 0000000..a9df1a8 --- /dev/null +++ b/WebSiteCode/WebSiteCode/Controllers/His.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; + +// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 + +namespace WebSiteCode.Controllers +{ + /// + /// HIS端调用接口 + /// + public class His : Controller + { + public IActionResult PostCF() { + + } + } +} diff --git a/WebSiteCode/WebSiteCode/Controllers/HisTest.cs b/WebSiteCode/WebSiteCode/Controllers/HisTest.cs new file mode 100644 index 0000000..17e48ad --- /dev/null +++ b/WebSiteCode/WebSiteCode/Controllers/HisTest.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; + +// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 + +namespace WebSiteCode.Controllers +{ + /// + /// His端测试方法。 + /// + public class HisTest:Controller + { + public IActionResult Index() { + return View(); + } + + public IActionResult Get(string msg) { + return Json(new { msg,}); + } + + public IActionResult Post(string msg) { + return Json(new { msg }); + } + } +} diff --git a/WebSiteCode/WebSiteCode/Controllers/Wsd.cs b/WebSiteCode/WebSiteCode/Controllers/Wsd.cs new file mode 100644 index 0000000..0f30838 --- /dev/null +++ b/WebSiteCode/WebSiteCode/Controllers/Wsd.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; + +// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 + +namespace WebSiteCode.Controllers +{ + /// + /// 万仕达放调用接口 + /// + public class Wsd : Controller + { + // GET: // + public IActionResult Index() + { + return View(); + } + } +}