diff --git a/.vs/QualityControlPlatform/v17/.suo b/.vs/QualityControlPlatform/v17/.suo
index 0b78d76..d4c4f2c 100644
Binary files a/.vs/QualityControlPlatform/v17/.suo and b/.vs/QualityControlPlatform/v17/.suo differ
diff --git a/QualityControlPlatform/Controllers/NewController.cs b/QualityControlPlatform/Controllers/NewController.cs
index d94a45b..e7bcb2f 100644
--- a/QualityControlPlatform/Controllers/NewController.cs
+++ b/QualityControlPlatform/Controllers/NewController.cs
@@ -22,6 +22,7 @@ namespace QualityControlPlatform.Controllers
/// 获取所有栏目
///
///
+ [HttpGet]
public ActionResult PartList(int? page)
{
return ResponseHelper.Success(
diff --git a/QualityControlPlatform/Helpers/Pagination/PageHelper.cs b/QualityControlPlatform/Helpers/Pagination/PageHelper.cs
index e4b99c3..a071f9e 100644
--- a/QualityControlPlatform/Helpers/Pagination/PageHelper.cs
+++ b/QualityControlPlatform/Helpers/Pagination/PageHelper.cs
@@ -1,9 +1,12 @@
using System;
using System.Collections.Generic;
-using System.Linq;
+using System.Linq;
-namespace LisWeb.Helper.Pagination
+namespace QualityControlPlatform.Helpers.Pagination
{
+ ///
+ /// 分页帮助类
+ ///
public class PageHelper
{
/*
@@ -29,6 +32,9 @@ namespace LisWeb.Helper.Pagination
}
}
+ ///
+ /// 数据
+ ///
public class Data
{
///
@@ -44,6 +50,12 @@ namespace LisWeb.Helper.Pagination
///
public object List { get; set; }
+ ///
+ /// 数据实体
+ ///
+ ///
+ ///
+ ///
public Data(int? total, int? current, object list)
{
Total = total ?? 0;
diff --git a/QualityControlPlatform/Helpers/Response/ResponseHelper.cs b/QualityControlPlatform/Helpers/Response/ResponseHelper.cs
index 9219ea3..50ef97a 100644
--- a/QualityControlPlatform/Helpers/Response/ResponseHelper.cs
+++ b/QualityControlPlatform/Helpers/Response/ResponseHelper.cs
@@ -18,6 +18,9 @@ namespace QualityControlPlatform.Helpers.Response
///
public enum ErrorEnum
{
+ ///
+ ///
+ ///
[Description("登录失败,用户名或密码为空")]
UserAndPwIsNull = 60001,
///
@@ -26,9 +29,15 @@ namespace QualityControlPlatform.Helpers.Response
[Description("Token错误")]
TokenError = 50001,
+ ///
+ ///
+ ///
[Description("参数错误")]
ParamsError = 50002,
+ ///
+ ///
+ ///
[Description("登录失败,用户名或密码错误")]
UserAndPwError = 50011,
///
diff --git a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.dll b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.dll
index d36c11a..59cae7e 100644
Binary files a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.dll and b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.dll differ
diff --git a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.pdb b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.pdb
index 99d6b0d..3ba8409 100644
Binary files a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.pdb and b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.pdb differ
diff --git a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.xml b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.xml
index 27cd5b7..e08605d 100644
--- a/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.xml
+++ b/QualityControlPlatform/bin/Debug/netcoreapp3.1/QualityControlPlatform.xml
@@ -4,20 +4,14 @@
QualityControlPlatform
-
+
- 测试
+ 新闻相关接口
-
+
- 测试
-
-
-
-
-
- 初始框架测试接口
+ 获取所有栏目
@@ -41,6 +35,49 @@
获取当前登录用户的科室
+
+
+ 分页帮助类
+
+
+
+
+ 分页
+
+ 数据类型
+ 数据
+ 页码
+ 数据量/页
+
+
+
+
+ 数据
+
+
+
+
+ 总数
+
+
+
+
+ 当前页码
+
+
+
+
+ 数据
+
+
+
+
+ 数据实体
+
+
+
+
+
首位:5:error;
@@ -53,11 +90,26 @@
0:代码校验出的错
+
+
+
+
+
Token错误
+
+
+
+
+
+
+
+
+
+
未找到数据
@@ -139,6 +191,93 @@
+
+
+ EF上下文
+
+
+
+
+ 私有化
+
+
+
+
+
+
+
+
+
+
+ 附件表
+
+
+
+
+ 附件新闻表
+
+
+
+
+ 病种表
+
+
+
+
+ 医院基础信息表
+
+
+
+
+ 菜单表
+
+
+
+
+ 新闻表
+
+
+
+
+ 栏目表
+
+
+
+
+ 内容上报表
+
+
+
+
+ 内容上报问题表
+
+
+
+
+ 角色表
+
+
+
+
+ 角色菜单表
+
+
+
+
+ 用户表
+
+
+
+
+ 用户角色表
+
+
+
+
+ 实体映射关系
+
+
+
项目入口
diff --git a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.AssemblyReference.cache b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.AssemblyReference.cache
index 610571a..c9de9dc 100644
Binary files a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.AssemblyReference.cache and b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.AssemblyReference.cache differ
diff --git a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.CoreCompileInputs.cache b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.CoreCompileInputs.cache
index 0ddbe34..b494a0f 100644
--- a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.CoreCompileInputs.cache
+++ b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-86e332dcfafbd72844c476522115b0f6ca723295
+c236f9667078ef325521b9f05edab1ebd9a540ca
diff --git a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.dll b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.dll
index d36c11a..59cae7e 100644
Binary files a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.dll and b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.dll differ
diff --git a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.pdb b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.pdb
index 99d6b0d..3ba8409 100644
Binary files a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.pdb and b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.pdb differ
diff --git a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.xml b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.xml
index 27cd5b7..e08605d 100644
--- a/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.xml
+++ b/QualityControlPlatform/obj/Debug/netcoreapp3.1/QualityControlPlatform.xml
@@ -4,20 +4,14 @@
QualityControlPlatform
-
+
- 测试
+ 新闻相关接口
-
+
- 测试
-
-
-
-
-
- 初始框架测试接口
+ 获取所有栏目
@@ -41,6 +35,49 @@
获取当前登录用户的科室
+
+
+ 分页帮助类
+
+
+
+
+ 分页
+
+ 数据类型
+ 数据
+ 页码
+ 数据量/页
+
+
+
+
+ 数据
+
+
+
+
+ 总数
+
+
+
+
+ 当前页码
+
+
+
+
+ 数据
+
+
+
+
+ 数据实体
+
+
+
+
+
首位:5:error;
@@ -53,11 +90,26 @@
0:代码校验出的错
+
+
+
+
+
Token错误
+
+
+
+
+
+
+
+
+
+
未找到数据
@@ -139,6 +191,93 @@
+
+
+ EF上下文
+
+
+
+
+ 私有化
+
+
+
+
+
+
+
+
+
+
+ 附件表
+
+
+
+
+ 附件新闻表
+
+
+
+
+ 病种表
+
+
+
+
+ 医院基础信息表
+
+
+
+
+ 菜单表
+
+
+
+
+ 新闻表
+
+
+
+
+ 栏目表
+
+
+
+
+ 内容上报表
+
+
+
+
+ 内容上报问题表
+
+
+
+
+ 角色表
+
+
+
+
+ 角色菜单表
+
+
+
+
+ 用户表
+
+
+
+
+ 用户角色表
+
+
+
+
+ 实体映射关系
+
+
+
项目入口