dd
This commit is contained in:
parent
0960259b37
commit
49e37a31ce
@ -15,7 +15,7 @@ namespace YD_AllHeartRates.Api.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[Route("[controller]")]
|
[Route("api/[controller]")]
|
||||||
public class DeviceController : ControllerBase
|
public class DeviceController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IDeviceService _deviceService;
|
private readonly IDeviceService _deviceService;
|
||||||
|
@ -13,7 +13,7 @@ namespace YD_AllHeartRates.Api.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[Route("[controller]")]
|
[Route("api/[controller]")]
|
||||||
public class HeartRateReportController : ControllerBase
|
public class HeartRateReportController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IHeartRateReportService _rateReportService;
|
private readonly IHeartRateReportService _rateReportService;
|
||||||
|
@ -13,7 +13,7 @@ namespace YD_AllHeartRates.Api.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[Route("[controller]")]
|
[Route("api/[controller]")]
|
||||||
public class LargeScreenController : ControllerBase
|
public class LargeScreenController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly ILargeScreenService _largeScreenService;
|
private readonly ILargeScreenService _largeScreenService;
|
||||||
|
@ -13,7 +13,7 @@ namespace YD_AllHeartRates.Api.Controllers
|
|||||||
/// 用户
|
/// 用户
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[Route("[controller]")]
|
[Route("api/[controller]")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public class UserController : ControllerBase
|
public class UserController : ControllerBase
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
"Method": "AddDevice",
|
"Method": "AddDevice",
|
||||||
"RelativePath": "AddDevice",
|
"RelativePath": "Device/AddDevice",
|
||||||
"HttpMethod": "POST",
|
"HttpMethod": "POST",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -25,41 +25,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
|
||||||
"Method": "ClassHeartRateReport",
|
|
||||||
"RelativePath": "ClassHeartRateReport",
|
|
||||||
"HttpMethod": "GET",
|
|
||||||
"IsController": true,
|
|
||||||
"Order": 0,
|
|
||||||
"Parameters": [
|
|
||||||
{
|
|
||||||
"Name": "classId",
|
|
||||||
"Type": "System.Int32",
|
|
||||||
"IsRequired": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "scoreTime",
|
|
||||||
"Type": "System.Nullable\u00601[[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
|
|
||||||
"IsRequired": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ReturnTypes": [
|
|
||||||
{
|
|
||||||
"Type": "YD_AllHeartRates.Commons.Dto.HeartRateRepor.ClassHeartRateReportDataDto",
|
|
||||||
"MediaTypes": [
|
|
||||||
"text/plain",
|
|
||||||
"application/json",
|
|
||||||
"text/json"
|
|
||||||
],
|
|
||||||
"StatusCode": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
"Method": "DeleteDevice",
|
"Method": "DeleteDevice",
|
||||||
"RelativePath": "DeleteDevice",
|
"RelativePath": "Device/DeleteDevice",
|
||||||
"HttpMethod": "POST",
|
"HttpMethod": "POST",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -85,7 +54,7 @@
|
|||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
"Method": "DeviceNumber",
|
"Method": "DeviceNumber",
|
||||||
"RelativePath": "DeviceNumber",
|
"RelativePath": "Device/DeviceNumber",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -105,7 +74,7 @@
|
|||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
"Method": "DevicePageList",
|
"Method": "DevicePageList",
|
||||||
"RelativePath": "DevicePageList",
|
"RelativePath": "Device/DevicePageList",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -158,10 +127,93 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
|
"Method": "ImportDevice",
|
||||||
|
"RelativePath": "Device/ImportDevice",
|
||||||
|
"HttpMethod": "POST",
|
||||||
|
"IsController": true,
|
||||||
|
"Order": 0,
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "file",
|
||||||
|
"Type": "Microsoft.AspNetCore.Http.IFormFile",
|
||||||
|
"IsRequired": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ReturnTypes": [
|
||||||
|
{
|
||||||
|
"Type": "System.Boolean",
|
||||||
|
"MediaTypes": [
|
||||||
|
"text/plain",
|
||||||
|
"application/json",
|
||||||
|
"text/json"
|
||||||
|
],
|
||||||
|
"StatusCode": 200
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
||||||
|
"Method": "UpdateDevice",
|
||||||
|
"RelativePath": "Device/UpdateDevice",
|
||||||
|
"HttpMethod": "POST",
|
||||||
|
"IsController": true,
|
||||||
|
"Order": 0,
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "dto",
|
||||||
|
"Type": "YD_AllHeartRates.Commons.Dto.Device.AddDeviceDto",
|
||||||
|
"IsRequired": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ReturnTypes": [
|
||||||
|
{
|
||||||
|
"Type": "System.Boolean",
|
||||||
|
"MediaTypes": [
|
||||||
|
"text/plain",
|
||||||
|
"application/json",
|
||||||
|
"text/json"
|
||||||
|
],
|
||||||
|
"StatusCode": 200
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
||||||
|
"Method": "ClassHeartRateReport",
|
||||||
|
"RelativePath": "HeartRateReport/ClassHeartRateReport",
|
||||||
|
"HttpMethod": "GET",
|
||||||
|
"IsController": true,
|
||||||
|
"Order": 0,
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "classId",
|
||||||
|
"Type": "System.Int32",
|
||||||
|
"IsRequired": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "scoreTime",
|
||||||
|
"Type": "System.Nullable\u00601[[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
|
||||||
|
"IsRequired": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ReturnTypes": [
|
||||||
|
{
|
||||||
|
"Type": "YD_AllHeartRates.Commons.Dto.HeartRateRepor.ClassHeartRateReportDataDto",
|
||||||
|
"MediaTypes": [
|
||||||
|
"text/plain",
|
||||||
|
"application/json",
|
||||||
|
"text/json"
|
||||||
|
],
|
||||||
|
"StatusCode": 200
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
||||||
"Method": "GradeHeartRateReport",
|
"Method": "GradeHeartRateReport",
|
||||||
"RelativePath": "GradeHeartRateReport",
|
"RelativePath": "HeartRateReport/GradeHeartRateReport",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -189,93 +241,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.LargeScreenController",
|
|
||||||
"Method": "HeartRateData",
|
|
||||||
"RelativePath": "HeartRateData",
|
|
||||||
"HttpMethod": "GET",
|
|
||||||
"IsController": true,
|
|
||||||
"Order": 0,
|
|
||||||
"Parameters": [
|
|
||||||
{
|
|
||||||
"Name": "classId",
|
|
||||||
"Type": "System.Int32",
|
|
||||||
"IsRequired": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ReturnTypes": [
|
|
||||||
{
|
|
||||||
"Type": "YD_AllHeartRates.Commons.Dto.LargeScreen.HeartRateDataDto",
|
|
||||||
"MediaTypes": [
|
|
||||||
"text/plain",
|
|
||||||
"application/json",
|
|
||||||
"text/json"
|
|
||||||
],
|
|
||||||
"StatusCode": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
|
||||||
"Method": "ImportDevice",
|
|
||||||
"RelativePath": "ImportDevice",
|
|
||||||
"HttpMethod": "POST",
|
|
||||||
"IsController": true,
|
|
||||||
"Order": 0,
|
|
||||||
"Parameters": [
|
|
||||||
{
|
|
||||||
"Name": "file",
|
|
||||||
"Type": "Microsoft.AspNetCore.Http.IFormFile",
|
|
||||||
"IsRequired": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ReturnTypes": [
|
|
||||||
{
|
|
||||||
"Type": "System.Boolean",
|
|
||||||
"MediaTypes": [
|
|
||||||
"text/plain",
|
|
||||||
"application/json",
|
|
||||||
"text/json"
|
|
||||||
],
|
|
||||||
"StatusCode": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.UserController",
|
|
||||||
"Method": "Login",
|
|
||||||
"RelativePath": "Login",
|
|
||||||
"HttpMethod": "POST",
|
|
||||||
"IsController": true,
|
|
||||||
"Order": 0,
|
|
||||||
"Parameters": [
|
|
||||||
{
|
|
||||||
"Name": "UserName",
|
|
||||||
"Type": "System.String",
|
|
||||||
"IsRequired": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Password",
|
|
||||||
"Type": "System.String",
|
|
||||||
"IsRequired": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ReturnTypes": [
|
|
||||||
{
|
|
||||||
"Type": "YD_AllHeartRates.Commons.UserInfoDto",
|
|
||||||
"MediaTypes": [
|
|
||||||
"text/plain",
|
|
||||||
"application/json",
|
|
||||||
"text/json"
|
|
||||||
],
|
|
||||||
"StatusCode": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
||||||
"Method": "SchoolHeartRateReport",
|
"Method": "SchoolHeartRateReport",
|
||||||
"RelativePath": "SchoolHeartRateReport",
|
"RelativePath": "HeartRateReport/SchoolHeartRateReport",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -298,30 +267,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.LargeScreenController",
|
|
||||||
"Method": "SchoolInfo",
|
|
||||||
"RelativePath": "SchoolInfo",
|
|
||||||
"HttpMethod": "GET",
|
|
||||||
"IsController": true,
|
|
||||||
"Order": 0,
|
|
||||||
"Parameters": [],
|
|
||||||
"ReturnTypes": [
|
|
||||||
{
|
|
||||||
"Type": "YD_AllHeartRates.Commons.Dto.LargeScreen.SchoolDto",
|
|
||||||
"MediaTypes": [
|
|
||||||
"text/plain",
|
|
||||||
"application/json",
|
|
||||||
"text/json"
|
|
||||||
],
|
|
||||||
"StatusCode": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.HeartRateReportController",
|
||||||
"Method": "StudentHeartRateReport",
|
"Method": "StudentHeartRateReport",
|
||||||
"RelativePath": "StudentHeartRateReport",
|
"RelativePath": "HeartRateReport/StudentHeartRateReport",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
@ -350,22 +299,68 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.DeviceController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.LargeScreenController",
|
||||||
"Method": "UpdateDevice",
|
"Method": "HeartRateData",
|
||||||
"RelativePath": "UpdateDevice",
|
"RelativePath": "LargeScreen/HeartRateData",
|
||||||
|
"HttpMethod": "GET",
|
||||||
|
"IsController": true,
|
||||||
|
"Order": 0,
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "classId",
|
||||||
|
"Type": "System.Int32",
|
||||||
|
"IsRequired": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ReturnTypes": [
|
||||||
|
{
|
||||||
|
"Type": "YD_AllHeartRates.Commons.Dto.LargeScreen.HeartRateDataDto",
|
||||||
|
"MediaTypes": [
|
||||||
|
"text/plain",
|
||||||
|
"application/json",
|
||||||
|
"text/json"
|
||||||
|
],
|
||||||
|
"StatusCode": 200
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.LargeScreenController",
|
||||||
|
"Method": "SchoolInfo",
|
||||||
|
"RelativePath": "LargeScreen/SchoolInfo",
|
||||||
|
"HttpMethod": "GET",
|
||||||
|
"IsController": true,
|
||||||
|
"Order": 0,
|
||||||
|
"Parameters": [],
|
||||||
|
"ReturnTypes": [
|
||||||
|
{
|
||||||
|
"Type": "YD_AllHeartRates.Commons.Dto.LargeScreen.SchoolDto",
|
||||||
|
"MediaTypes": [
|
||||||
|
"text/plain",
|
||||||
|
"application/json",
|
||||||
|
"text/json"
|
||||||
|
],
|
||||||
|
"StatusCode": 200
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.UserController",
|
||||||
|
"Method": "Login",
|
||||||
|
"RelativePath": "User/Login",
|
||||||
"HttpMethod": "POST",
|
"HttpMethod": "POST",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
"Parameters": [
|
"Parameters": [
|
||||||
{
|
{
|
||||||
"Name": "dto",
|
"Name": "loginInfo",
|
||||||
"Type": "YD_AllHeartRates.Commons.Dto.Device.AddDeviceDto",
|
"Type": "YD_AllHeartRates.Commons.LoginInfo",
|
||||||
"IsRequired": true
|
"IsRequired": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ReturnTypes": [
|
"ReturnTypes": [
|
||||||
{
|
{
|
||||||
"Type": "System.Boolean",
|
"Type": "YD_AllHeartRates.Commons.UserInfoDto",
|
||||||
"MediaTypes": [
|
"MediaTypes": [
|
||||||
"text/plain",
|
"text/plain",
|
||||||
"application/json",
|
"application/json",
|
||||||
@ -378,7 +373,7 @@
|
|||||||
{
|
{
|
||||||
"ContainingType": "YD_AllHeartRates.Api.Controllers.UserController",
|
"ContainingType": "YD_AllHeartRates.Api.Controllers.UserController",
|
||||||
"Method": "UserInfo",
|
"Method": "UserInfo",
|
||||||
"RelativePath": "UserInfo",
|
"RelativePath": "User/UserInfo",
|
||||||
"HttpMethod": "GET",
|
"HttpMethod": "GET",
|
||||||
"IsController": true,
|
"IsController": true,
|
||||||
"Order": 0,
|
"Order": 0,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"version": "v1"
|
"version": "v1"
|
||||||
},
|
},
|
||||||
"paths": {
|
"paths": {
|
||||||
"/DevicePageList": {
|
"/Device/DevicePageList": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -91,7 +91,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/DeviceNumber": {
|
"/Device/DeviceNumber": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -130,7 +130,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/AddDevice": {
|
"/Device/AddDevice": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -184,7 +184,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/UpdateDevice": {
|
"/Device/UpdateDevice": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -238,7 +238,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/DeleteDevice": {
|
"/Device/DeleteDevice": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -277,7 +277,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/ImportDevice": {
|
"/Device/ImportDevice": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Device"
|
"Device"
|
||||||
@ -327,7 +327,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/SchoolHeartRateReport": {
|
"/HeartRateReport/SchoolHeartRateReport": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"HeartRateReport"
|
"HeartRateReport"
|
||||||
@ -367,7 +367,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/GradeHeartRateReport": {
|
"/HeartRateReport/GradeHeartRateReport": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"HeartRateReport"
|
"HeartRateReport"
|
||||||
@ -415,7 +415,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/ClassHeartRateReport": {
|
"/HeartRateReport/ClassHeartRateReport": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"HeartRateReport"
|
"HeartRateReport"
|
||||||
@ -463,7 +463,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/StudentHeartRateReport": {
|
"/HeartRateReport/StudentHeartRateReport": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"HeartRateReport"
|
"HeartRateReport"
|
||||||
@ -510,7 +510,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/SchoolInfo": {
|
"/LargeScreen/SchoolInfo": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"LargeScreen"
|
"LargeScreen"
|
||||||
@ -540,7 +540,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/HeartRateData": {
|
"/LargeScreen/HeartRateData": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"LargeScreen"
|
"LargeScreen"
|
||||||
@ -580,32 +580,36 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/Login": {
|
"/User/Login": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"User"
|
"User"
|
||||||
],
|
],
|
||||||
"summary": "登录",
|
"summary": "登录",
|
||||||
"parameters": [
|
"requestBody": {
|
||||||
{
|
"content": {
|
||||||
"name": "UserName",
|
"application/json-patch+json": {
|
||||||
"in": "query",
|
"schema": {
|
||||||
"required": true,
|
"$ref": "#/components/schemas/LoginInfo"
|
||||||
"schema": {
|
}
|
||||||
"maxLength": 50,
|
},
|
||||||
"type": "string"
|
"application/json": {
|
||||||
}
|
"schema": {
|
||||||
},
|
"$ref": "#/components/schemas/LoginInfo"
|
||||||
{
|
}
|
||||||
"name": "Password",
|
},
|
||||||
"in": "query",
|
"text/json": {
|
||||||
"required": true,
|
"schema": {
|
||||||
"schema": {
|
"$ref": "#/components/schemas/LoginInfo"
|
||||||
"maxLength": 50,
|
}
|
||||||
"type": "string"
|
},
|
||||||
|
"application/*+json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/LoginInfo"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"description": "Success",
|
"description": "Success",
|
||||||
@ -630,7 +634,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/UserInfo": {
|
"/User/UserInfo": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"User"
|
"User"
|
||||||
@ -990,6 +994,26 @@
|
|||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"LoginInfo": {
|
||||||
|
"required": [
|
||||||
|
"password",
|
||||||
|
"userName"
|
||||||
|
],
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"userName": {
|
||||||
|
"maxLength": 50,
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"maxLength": 50,
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"SchoolDto": {
|
"SchoolDto": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d6d2020f505a0bb193e3e5458b5eea828a0319bf")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0960259b37650f9dbe52220a21be3ee2d50876e5")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
|
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
a530ed2a87c580cfd903afba773c538f851e82dd409265bf8c14464bcc334d6f
|
6eaa8fd9ba65abf57195f6047cc7ed84d564bea46a6615d74dac543edad782c7
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user