From 0271c8a7019b44a4e5625631bf5a216e5656f30a Mon Sep 17 00:00:00 2001 From: falcon <9504402@qq.com> Date: Mon, 8 Apr 2019 14:55:07 +0800 Subject: [PATCH] =?UTF-8?q?(#19)=E5=A2=9E=E5=8A=A0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=AF=B4=E6=98=8E=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=84=E6=96=B9=E4=BF=A1=E6=81=AF=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=8F=82=E6=95=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebSiteCode/Cmdjy/Cmdjy/Cmdjy.csproj | 2 + .../Controllers/InterFaceDocController.cs | 12 ++ .../Cmdjy/Cmdjy/Views/Home/Index.cshtml | 3 +- .../Cmdjy/Views/InterFaceDoc/Index.cshtml | 136 ++++++++++++++++++ 4 files changed, 152 insertions(+), 1 deletion(-) create mode 100644 WebSiteCode/Cmdjy/Cmdjy/Controllers/InterFaceDocController.cs create mode 100644 WebSiteCode/Cmdjy/Cmdjy/Views/InterFaceDoc/Index.cshtml diff --git a/WebSiteCode/Cmdjy/Cmdjy/Cmdjy.csproj b/WebSiteCode/Cmdjy/Cmdjy/Cmdjy.csproj index 566bdea..e45a95c 100644 --- a/WebSiteCode/Cmdjy/Cmdjy/Cmdjy.csproj +++ b/WebSiteCode/Cmdjy/Cmdjy/Cmdjy.csproj @@ -203,6 +203,7 @@ + @@ -267,6 +268,7 @@ + Web.config diff --git a/WebSiteCode/Cmdjy/Cmdjy/Controllers/InterFaceDocController.cs b/WebSiteCode/Cmdjy/Cmdjy/Controllers/InterFaceDocController.cs new file mode 100644 index 0000000..a1617ed --- /dev/null +++ b/WebSiteCode/Cmdjy/Cmdjy/Controllers/InterFaceDocController.cs @@ -0,0 +1,12 @@ +using System.Web.Mvc; + +namespace Cmdjy.Controllers +{ + public class InterFaceDocController : Controller + { + public ActionResult Index() + { + return PartialView(); + } + } +} \ No newline at end of file diff --git a/WebSiteCode/Cmdjy/Cmdjy/Views/Home/Index.cshtml b/WebSiteCode/Cmdjy/Cmdjy/Views/Home/Index.cshtml index d5d8986..8ed9ca2 100644 --- a/WebSiteCode/Cmdjy/Cmdjy/Views/Home/Index.cshtml +++ b/WebSiteCode/Cmdjy/Cmdjy/Views/Home/Index.cshtml @@ -1,7 +1,8 @@ 

代煎药平台


    -
  1. 版本1.0
  2. +
  3. 版本2.0
  4. +
  5. @Ajax.ActionLink("接口说明","Index","InterFaceDoc",new AjaxOptions { UpdateTargetId = "main" })
  6. @Ajax.ActionLink("厂商列表","Index","Company",new AjaxOptions { UpdateTargetId = "main" })
  7. @Ajax.ActionLink("医疗机构处方列表","Index","HisInfo",new AjaxOptions { UpdateTargetId = "main" })
  8. @Ajax.ActionLink("医疗机构列表","Index","HospitalInfo",new AjaxOptions { UpdateTargetId = "main" })
  9. diff --git a/WebSiteCode/Cmdjy/Cmdjy/Views/InterFaceDoc/Index.cshtml b/WebSiteCode/Cmdjy/Cmdjy/Views/InterFaceDoc/Index.cshtml new file mode 100644 index 0000000..11d43e3 --- /dev/null +++ b/WebSiteCode/Cmdjy/Cmdjy/Views/InterFaceDoc/Index.cshtml @@ -0,0 +1,136 @@ + + + + + +
    + 接口说明文档 +
    +
      +
    • API列表:
    • +
    • +
    • +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    处方信息接口请求参数
    字段可为空说明
    CompanyCode接口方代码。
    CompanyName接口方名称
    StartNo开始的编号
    MaxCount最大获取数量
    StartDate处方开始时间
    + + + + + + + + + + + + + + +
    处方信息响应参数
    字段可为空说明
    暂缺
    +
    +
    + + + + + + + + + + + + + + +
    医院机构列表请求参数
    字段可为空说明
    无参数
    + + + + + + + + + + + + + + +
    处方信息响应参数
    字段可为空说明
    暂缺
    +
    +
    +