添加HIS测试控制器,HIS接口控制器,万仕达接口控制器
This commit is contained in:
parent
d4038e7c90
commit
d8d8ec2889
20
WebSiteCode/WebSiteCode/Controllers/His.cs
Normal file
20
WebSiteCode/WebSiteCode/Controllers/His.cs
Normal file
|
@ -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
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// HIS端调用接口
|
||||||
|
/// </summary>
|
||||||
|
public class His : Controller
|
||||||
|
{
|
||||||
|
public IActionResult PostCF() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
28
WebSiteCode/WebSiteCode/Controllers/HisTest.cs
Normal file
28
WebSiteCode/WebSiteCode/Controllers/HisTest.cs
Normal file
|
@ -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
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// His端测试方法。
|
||||||
|
/// </summary>
|
||||||
|
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 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
22
WebSiteCode/WebSiteCode/Controllers/Wsd.cs
Normal file
22
WebSiteCode/WebSiteCode/Controllers/Wsd.cs
Normal file
|
@ -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
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 万仕达放调用接口
|
||||||
|
/// </summary>
|
||||||
|
public class Wsd : Controller
|
||||||
|
{
|
||||||
|
// GET: /<controller>/
|
||||||
|
public IActionResult Index()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user