This commit is contained in:
tanglong 2025-07-30 14:55:00 +08:00
parent 5359c654f4
commit 590052c7b0
118 changed files with 595 additions and 6554 deletions

View File

@ -1,81 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YD_XinWei.Commons.Dto.HomeWork
{
/// <summary>
/// 新增作业
/// </summary>
public class AddHomeWorkDto
{
/// <summary>
///作业名称
/// </summary>
public string WorkName { get; set; }
/// <summary>
///作业内容
/// </summary>
public string WorkText { get; set; }
/// <summary>
/// 作业类型
/// </summary>
public int WorkType { get; set; }
/// <summary>
/// 学生范围
/// </summary>
public int StudentScope { get; set; }
/// <summary>
///老师Id
/// </summary>
public int TeacherId { get; set; }
/// <summary>
///老师名称
/// </summary>
public string TeacherName { get; set; }
/// <summary>
///年级Id
/// </summary>
public int GradeId { get; set; }
/// <summary>
///年级名称
/// </summary>
public string GradeName { get; set; }
/// <summary>
///班级Id
/// </summary>
public int ClassId { get; set; }
/// <summary>
///班级名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
///开始时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
///结束时间
/// </summary>
public DateTime EndTime { get; set; }
/// <summary>
/// 学生集合
/// </summary>
public List<HomeWorkStudentsDto> HomeWorkStudents { get; set; }
}
}

View File

@ -1,112 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YD_XinWei.Commons.Dto.HomeWork
{
/// <summary>
/// 作业记录
/// </summary>
public class HomeWorkRecordDto
{
/// <summary>
/// 作业Id
/// </summary>
public int Id { get; set; }
/// <summary>
///作业名称
/// </summary>
public string WorkName { get; set; }
/// <summary>
///开始时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
///结束时间
/// </summary>
public DateTime EndTime { get; set; }
/// <summary>
/// 作业状态
/// </summary>
public int WorkStatus { get; set; }
}
public class HomeWorkDetailsDto
{
/// <summary>
/// 作业Id
/// </summary>
public int Id { get; set; }
/// <summary>
///作业名称
/// </summary>
public string WorkName { get; set; }
/// <summary>
///作业内容
/// </summary>
public string WorkText { get; set; }
/// <summary>
///开始时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
///结束时间
/// </summary>
public DateTime EndTime { get; set; }
/// <summary>
/// 学生范围
/// </summary>
public int StudentScope { get; set; }
/// <summary>
/// 学生集合
/// </summary>
public List<HomeWorkStudentsDto> HomeWorkStudents { get; set; }
}
public class HomeWorkStudentsDto
{
/// <summary>
///学校编号
/// </summary>
public string SchoolCode { get; set; }
/// <summary>
///学生学号
/// </summary>
public string StudentNo { get; set; }
/// <summary>
///学生名称
/// </summary>
public string StudentName { get; set; }
/// <summary>
///性别
/// </summary>
public int Sex { get; set; }
/// <summary>
///学生照片
/// </summary>
public string Photo { get; set; }
/// <summary>
/// 学生作业状态
/// </summary>
public int WorkStatus { get; set; }
}
}

View File

@ -0,0 +1,197 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YD_XinWei.Commons.Dto.LargeScreen
{
/// <summary>
/// 大屏数据
/// </summary>
public class LargeScreenDto
{
/// <summary>
/// 基本信息
/// </summary>
public BasicInfoDto BasicInfo { get; set; } = new BasicInfoDto();
/// <summary>
/// 各项目数据
/// </summary>
public ItemDataDto ItemData { get; set; } = new ItemDataDto();
/// <summary>
/// 班级运动榜
/// </summary>
public ClassSportsRankingDto ClassSportsRankList { get; set; } = new ClassSportsRankingDto();
/// <summary>
/// 各项目实时数据
/// </summary>
public List<ItemRealTimeResultDto> ItemRealTimeResultList { get; set; } = new List<ItemRealTimeResultDto>();
}
/// <summary>
/// 基本信息
/// </summary>
public class BasicInfoDto
{
/// <summary>
/// 男生人数
/// </summary>
public int MaleCount { get; set; }
/// <summary>
/// 女生人数
/// </summary>
public int FemaleCount { get; set; }
/// <summary>
/// 学生总人数(只读,自动计算)
/// </summary>
public int StudentCount => MaleCount + FemaleCount;
/// <summary>
/// 本周训练次数
/// </summary>
public int WeekTrainingCount { get; set; }
/// <summary>
/// 同比增长
/// </summary>
public int Increase { get; set; }
}
/// <summary>
/// 各项目数据
/// </summary>
public class ItemDataDto
{
/// <summary>
/// 项目id
/// </summary>
public int ProjectId { get; set; }
/// <summary>
/// 项目优良率
/// </summary>
public double ExcellentRate { get; set; }
/// <summary>
/// 男生排名
/// </summary>
public List<StudentScoreRankingDto> MaleRankList { get; set; }
/// <summary>
/// 女生排名
/// </summary>
public List<StudentScoreRankingDto> FemaleRankList { get; set; }
}
/// <summary>
/// 学生成绩排名
/// </summary>
public class StudentScoreRankingDto
{
/// <summary>
/// 排名
/// </summary>
public int Rank { get; set; }
/// <summary>
/// 学生学号
/// </summary>
public string StudentNo { get; set; }
/// <summary>
/// 学生姓名
/// </summary>
public string StudentName { get; set; }
/// <summary>
/// 成绩
/// </summary>
public string Score { get; set; }
}
/// <summary>
/// 班级运动榜
/// </summary>
public class ClassSportsRankingDto
{
/// <summary>
/// 排名
/// </summary>
public int Rank { get; set; }
/// <summary>
/// 班级Id
/// </summary>
public int ClassId { get; set; }
/// <summary>
/// 班级名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 运动次数
/// </summary>
public int Count { get; set; }
}
/// <summary>
/// 各项目实时成绩
/// </summary>
public class ItemRealTimeResultDto
{
/// <summary>
/// 学生学号
/// </summary>
public string StudentNo { get; set; }
/// <summary>
/// 学生姓名
/// </summary>
public string StudentName { get; set; }
/// <summary>
///学生照片
/// </summary>
public string Photo { get; set; }
/// <summary>
/// 年级班级名称
/// </summary>
public int GradeAndClassName { get; set; }
/// <summary>
/// 项目名称
/// </summary>
public string ProjectName { get; set; }
/// <summary>
/// 成绩
/// </summary>
public int Result { get; set; }
/// <summary>
/// 得分
/// </summary>
public int Score { get; set; }
/// <summary>
/// 等级
/// </summary>
public string Rank { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string CreateTime { get; set; }
}
}

View File

@ -1,356 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"YD_XinWei.Commons/1.0.0": {
"dependencies": {
"Aliyun.OSS.SDK.NetCore": "2.14.1",
"Microsoft.AspNetCore.Mvc.Abstractions": "2.2.0",
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": "6.0.0",
"Newtonsoft.Json": "13.0.3",
"System.IdentityModel.Tokens.Jwt": "8.3.0"
},
"runtime": {
"YD_XinWei.Commons.dll": {}
}
},
"Aliyun.OSS.SDK.NetCore/2.14.1": {
"runtime": {
"lib/netstandard2.0/Aliyun.OSS.Core.dll": {
"assemblyVersion": "2.14.1.0",
"fileVersion": "2.14.1.0"
}
}
},
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Features": "2.2.0",
"System.Text.Encodings.Web": "4.5.0"
}
},
"Microsoft.AspNetCore.Http.Features/2.2.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "2.2.0"
}
},
"Microsoft.AspNetCore.JsonPatch/6.0.0": {
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"Newtonsoft.Json": "13.0.3"
},
"runtime": {
"lib/net6.0/Microsoft.AspNetCore.JsonPatch.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52608"
}
}
},
"Microsoft.AspNetCore.Mvc.Abstractions/2.2.0": {
"dependencies": {
"Microsoft.AspNetCore.Routing.Abstractions": "2.2.0",
"Microsoft.Net.Http.Headers": "2.2.0"
}
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/6.0.0": {
"dependencies": {
"Microsoft.AspNetCore.JsonPatch": "6.0.0",
"Newtonsoft.Json": "13.0.3",
"Newtonsoft.Json.Bson": "1.0.2"
},
"runtime": {
"lib/net6.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52608"
}
}
},
"Microsoft.AspNetCore.Routing.Abstractions/2.2.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Abstractions": "2.2.0"
}
},
"Microsoft.Bcl.AsyncInterfaces/8.0.0": {
"runtime": {
"lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"Microsoft.Bcl.TimeProvider/8.0.1": {
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "8.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Bcl.TimeProvider.dll": {
"assemblyVersion": "8.0.0.1",
"fileVersion": "8.0.123.58001"
}
}
},
"Microsoft.CSharp/4.7.0": {},
"Microsoft.Extensions.Primitives/2.2.0": {
"dependencies": {
"System.Memory": "4.5.1",
"System.Runtime.CompilerServices.Unsafe": "4.5.1"
}
},
"Microsoft.IdentityModel.Abstractions/8.3.0": {
"runtime": {
"lib/net6.0/Microsoft.IdentityModel.Abstractions.dll": {
"assemblyVersion": "8.3.0.0",
"fileVersion": "8.3.0.51204"
}
}
},
"Microsoft.IdentityModel.JsonWebTokens/8.3.0": {
"dependencies": {
"Microsoft.Bcl.TimeProvider": "8.0.1",
"Microsoft.IdentityModel.Tokens": "8.3.0"
},
"runtime": {
"lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
"assemblyVersion": "8.3.0.0",
"fileVersion": "8.3.0.51204"
}
}
},
"Microsoft.IdentityModel.Logging/8.3.0": {
"dependencies": {
"Microsoft.IdentityModel.Abstractions": "8.3.0"
},
"runtime": {
"lib/net6.0/Microsoft.IdentityModel.Logging.dll": {
"assemblyVersion": "8.3.0.0",
"fileVersion": "8.3.0.51204"
}
}
},
"Microsoft.IdentityModel.Tokens/8.3.0": {
"dependencies": {
"Microsoft.Bcl.TimeProvider": "8.0.1",
"Microsoft.IdentityModel.Logging": "8.3.0"
},
"runtime": {
"lib/net6.0/Microsoft.IdentityModel.Tokens.dll": {
"assemblyVersion": "8.3.0.0",
"fileVersion": "8.3.0.51204"
}
}
},
"Microsoft.Net.Http.Headers/2.2.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "2.2.0",
"System.Buffers": "4.5.0"
}
},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"Newtonsoft.Json.Bson/1.0.2": {
"dependencies": {
"Newtonsoft.Json": "13.0.3"
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.2.22727"
}
}
},
"System.Buffers/4.5.0": {},
"System.IdentityModel.Tokens.Jwt/8.3.0": {
"dependencies": {
"Microsoft.IdentityModel.JsonWebTokens": "8.3.0",
"Microsoft.IdentityModel.Tokens": "8.3.0"
},
"runtime": {
"lib/net6.0/System.IdentityModel.Tokens.Jwt.dll": {
"assemblyVersion": "8.3.0.0",
"fileVersion": "8.3.0.51204"
}
}
},
"System.Memory/4.5.1": {},
"System.Runtime.CompilerServices.Unsafe/4.5.1": {},
"System.Text.Encodings.Web/4.5.0": {}
}
},
"libraries": {
"YD_XinWei.Commons/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Aliyun.OSS.SDK.NetCore/2.14.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UOI6I8Uw8A7pFh2GS6CSpJuhmcHH45k6asex8SRnZed2WWBXeGEaBFyv3HsMJNp+B6gPqyN079sQHWenGd3Y7g==",
"path": "aliyun.oss.sdk.netcore/2.14.1",
"hashPath": "aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Abstractions/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nxs7Z1q3f1STfLYKJSVXCs1iBl+Ya6E8o4Oy1bCxJ/rNI44E/0f6tbsrVqAWfB7jlnJfyaAtIalBVxPKUPQb4Q==",
"path": "microsoft.aspnetcore.http.abstractions/2.2.0",
"hashPath": "microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Features/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ziFz5zH8f33En4dX81LW84I6XrYXKf9jg6aM39cM+LffN9KJahViKZ61dGMSO2gd3e+qe5yBRwsesvyqlZaSMg==",
"path": "microsoft.aspnetcore.http.features/2.2.0",
"hashPath": "microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512"
},
"Microsoft.AspNetCore.JsonPatch/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SUiwg0XQ5NtmnELHXSdX4mAwawFnAOwSx2Zz6NIhQnEN1tZDoAWEHc8dS/S7y8cE52+9bHj+XbYZuLGF7OrQPA==",
"path": "microsoft.aspnetcore.jsonpatch/6.0.0",
"hashPath": "microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Mvc.Abstractions/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ET6uZpfVbGR1NjCuLaLy197cQ3qZUjzl7EG5SL4GfJH/c9KRE89MMBrQegqWsh0w1iRUB/zQaK0anAjxa/pz4g==",
"path": "microsoft.aspnetcore.mvc.abstractions/2.2.0",
"hashPath": "microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YMwSWgBuwkVn9k4/2wWxfwEbx8T5Utj13UH/zmUm5lbkKcY+tJyt9w9P4rY5pO1XtCitoh1+L+Feqz9qxG/CvA==",
"path": "microsoft.aspnetcore.mvc.newtonsoftjson/6.0.0",
"hashPath": "microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Routing.Abstractions/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lRRaPN7jDlUCVCp9i0W+PB0trFaKB0bgMJD7hEJS9Uo4R9MXaMC8X2tJhPLmeVE3SGDdYI4QNKdVmhNvMJGgPQ==",
"path": "microsoft.aspnetcore.routing.abstractions/2.2.0",
"hashPath": "microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512"
},
"Microsoft.Bcl.AsyncInterfaces/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==",
"path": "microsoft.bcl.asyncinterfaces/8.0.0",
"hashPath": "microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512"
},
"Microsoft.Bcl.TimeProvider/8.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C7kWHJnMRY7EvJev2S8+yJHZ1y7A4ZlLbA4NE+O23BDIAN5mHeqND1m+SKv1ChRS5YlCDW7yAMUe7lttRsJaAA==",
"path": "microsoft.bcl.timeprovider/8.0.1",
"hashPath": "microsoft.bcl.timeprovider.8.0.1.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-azyQtqbm4fSaDzZHD/J+V6oWMFaf2tWP4WEGIYePLCMw3+b2RQdj9ybgbQyjCshcitQKQ4lEDOZjmSlTTrHxUg==",
"path": "microsoft.extensions.primitives/2.2.0",
"hashPath": "microsoft.extensions.primitives.2.2.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Abstractions/8.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-jNin7yvWZu+K3U24q+6kD+LmGSRfbkHl9Px8hN1XrGwq6ZHgKGi/zuTm5m08G27fwqKfVXIWuIcUeq4Y1VQUOg==",
"path": "microsoft.identitymodel.abstractions/8.3.0",
"hashPath": "microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512"
},
"Microsoft.IdentityModel.JsonWebTokens/8.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4SVXLT8sDG7CrHiszEBrsDYi+aDW0W9d+fuWUGdZPBdan56aM6fGXJDjbI0TVGEDjJhXbACQd8F/BnC7a+m2RQ==",
"path": "microsoft.identitymodel.jsonwebtokens/8.3.0",
"hashPath": "microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Logging/8.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4w4pSIGHhCCLTHqtVNR2Cc/zbDIUWIBHTZCu/9ZHm2SVwrXY3RJMcZ7EFGiKqmKZMQZJzA0bpwCZ6R8Yb7i5VQ==",
"path": "microsoft.identitymodel.logging/8.3.0",
"hashPath": "microsoft.identitymodel.logging.8.3.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Tokens/8.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yGzqmk+kInH50zeSEH/L1/J0G4/yqTQNq4YmdzOhpE7s/86tz37NS2YbbY2ievbyGjmeBI1mq26QH+yBR6AK3Q==",
"path": "microsoft.identitymodel.tokens/8.3.0",
"hashPath": "microsoft.identitymodel.tokens.8.3.0.nupkg.sha512"
},
"Microsoft.Net.Http.Headers/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iZNkjYqlo8sIOI0bQfpsSoMTmB/kyvmV2h225ihyZT33aTp48ZpF6qYnXxzSXmHt8DpBAwBTX+1s1UFLbYfZKg==",
"path": "microsoft.net.http.headers/2.2.0",
"hashPath": "microsoft.net.http.headers.2.2.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"Newtonsoft.Json.Bson/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QYFyxhaABwmq3p/21VrZNYvCg3DaEoN/wUuw5nmfAf0X3HLjgupwhkEWdgfb9nvGAUIv3osmZoD3kKl4jxEmYQ==",
"path": "newtonsoft.json.bson/1.0.2",
"hashPath": "newtonsoft.json.bson.1.0.2.nupkg.sha512"
},
"System.Buffers/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pL2ChpaRRWI/p4LXyy4RgeWlYF2sgfj/pnVMvBqwNFr5cXg7CXNnWZWxrOONLg8VGdFB8oB+EG2Qw4MLgTOe+A==",
"path": "system.buffers/4.5.0",
"hashPath": "system.buffers.4.5.0.nupkg.sha512"
},
"System.IdentityModel.Tokens.Jwt/8.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9GESpDG0Zb17HD5mBW/uEWi2yz/uKPmCthX2UhyLnk42moGH2FpMgXA2Y4l2Qc7P75eXSUTA6wb/c9D9GSVkzw==",
"path": "system.identitymodel.tokens.jwt/8.3.0",
"hashPath": "system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512"
},
"System.Memory/4.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sDJYJpGtTgx+23Ayu5euxG5mAXWdkDb4+b0rD0Cab0M1oQS9H0HXGPriKcqpXuiJDTV7fTp/d+fMDJmnr6sNvA==",
"path": "system.memory/4.5.1",
"hashPath": "system.memory.4.5.1.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/4.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Zh8t8oqolRaFa9vmOZfdQm/qKejdqz0J9kr7o2Fu0vPeoH3BL1EOXipKWwkWtLT1JPzjByrF19fGuFlNbmPpiw==",
"path": "system.runtime.compilerservices.unsafe/4.5.1",
"hashPath": "system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512"
},
"System.Text.Encodings.Web/4.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==",
"path": "system.text.encodings.web/4.5.0",
"hashPath": "system.text.encodings.web.4.5.0.nupkg.sha512"
}
}
}

View File

@ -1,23 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+629833a359012b1c016a5391ffb0e3a1c90c6fcd")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@ -1 +0,0 @@
5c20e8386350df5b121f2632dda58b4b607216226937591d9138b7d93830669f

View File

@ -1,15 +0,0 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = YD_XinWei.Commons
build_property.ProjectDir = C:\Users\tangl\Desktop\Git\YD_XinWei\Server\YD_XinWei.Commons\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -1 +0,0 @@
d2646d4ce2c0a0b6e6e4c807549e8f143fdabdbd56b63a6cbd64d1e8796b88c8

View File

@ -1 +0,0 @@
{"documents":{"C:\\Users\\tangl\\Desktop\\Code\\YD_XinWei\\*":"https://dev.azure.com/tanglong10081/YD_XinWei/_apis/git/repositories/YD_XinWei/items?api-version=1.0&versionType=commit&version=1d3570ab05d420c438e818c395b8f56cd2046e9e&path=/*"}}

View File

@ -1,32 +0,0 @@
{
"version": 2,
"dgSpecHash": "PecPtCoVBBo=",
"success": true,
"projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"expectedPackageFiles": [
"C:\\Users\\tangl\\.nuget\\packages\\aliyun.oss.sdk.netcore\\2.14.1\\aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\6.0.0\\microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\6.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.bcl.timeprovider\\8.0.1\\microsoft.bcl.timeprovider.8.0.1.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.extensions.primitives\\2.2.0\\microsoft.extensions.primitives.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.0\\microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.0\\microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.0\\microsoft.identitymodel.logging.8.3.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.0\\microsoft.identitymodel.tokens.8.3.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.0\\system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.memory\\4.5.1\\system.memory.4.5.1.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.1\\system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512"
],
"logs": []
}

View File

@ -1,7 +1,5 @@
using AutoMapper;
using VOL.Entity.DomainModels.XinWei;
using YD_XinWei.Api.SmartSportsEntitys;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.Open;
namespace YD_XinWei.Api.AutoMappers

View File

@ -4,7 +4,6 @@ using Microsoft.AspNetCore.Mvc;
using YD_XinWei.Api.Services.Impl;
using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School;

View File

@ -0,0 +1,72 @@
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using VOL.Entity.DomainModels.XinWei;
using YD_XinWei.Api.Context;
using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Commons.Dto.LargeScreen;
using YD_XinWei.Commons.MemoryCaches;
namespace YD_XinWei.Api.Services.Impl
{
/// <summary>
/// 大屏服务
/// </summary>
public class LargeScreenService : ILargeScreenService
{
public SmartSportsContext _sportsContext;
private readonly IMapper _mapper;
private readonly ICacheService _caching;
/// <summary>
/// 构造
/// </summary>
/// <param name="sportsContext"></param>
/// <param name="mapper"></param>
public LargeScreenService(SmartSportsContext sportsContext, IMapper mapper, ICacheService caching)
{
_sportsContext = sportsContext;
_mapper = mapper;
_caching = caching;
}
/// <summary>
/// 项目成绩大屏数据
/// </summary>
/// <param name="orgId"></param>
/// <returns></returns>
public async Task<LargeScreenDto> ItemResultLargeScreenData(int orgId)
{
var res = new LargeScreenDto();
var schoolCode = _caching.Get(orgId.ToString());
if (string.IsNullOrWhiteSpace(schoolCode))
{
schoolCode = await _sportsContext.School.Where(x => x.Id == orgId).Select(x => x.SchoolCode).FirstAsync();
_caching.Add(orgId.ToString(), schoolCode);
}
var sportsTestDataKey = $"SportsTestData_{schoolCode}";
var studentInfo = await _sportsContext.Student.Where(x => x.SchoolCode == schoolCode).Select(x => x.Sex).ToListAsync();
res.BasicInfo.FemaleCount = studentInfo.Count(x => x == 2);
res.BasicInfo.MaleCount = studentInfo.Count(x => x == 1);
var sportsTestData = _caching.Get<List<XW_SportsTestData>>(sportsTestDataKey);
if (sportsTestData == null || sportsTestData.Count == 0)
{
sportsTestData = await _sportsContext.XW_SportsTestData.Where(x => x.OrgId == orgId).ToListAsync();
_caching.AddObject(sportsTestDataKey, sportsTestData, 3600);
}
return res;
}
}
}

View File

@ -0,0 +1,122 @@
using CSRedis;
using Newtonsoft.Json;
using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Api.Utilities;
namespace YD_XinWei.Api.Services.Impl
{
public class RedisCacheService : ICacheService
{
public RedisCacheService()
{
var csredis = new CSRedisClient(AppSettings.RedisConnectionString);
RedisHelper.Initialization(csredis);
}
/// <summary>
/// 验证缓存项是否存在
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
public bool Exists(string key)
{
if (key == null)
{
throw new ArgumentNullException(nameof(key));
}
return RedisHelper.Exists(key);
}
public void LPush(string key, string val)
{
RedisHelper.LPush(key, val);
}
public void RPush(string key, string val)
{
RedisHelper.RPush(key, val);
}
public T ListDequeue<T>(string key) where T : class
{
string value = RedisHelper.RPop(key);
if (string.IsNullOrEmpty(value))
return null;
return JsonConvert.DeserializeObject<T>(value);
}
public object ListDequeue(string key)
{
string value = RedisHelper.RPop(key);
if (string.IsNullOrEmpty(value))
return null;
return value;
}
/// <summary>
/// 移除list中的数据keepIndex为保留的位置到最后一个元素如list 元素为1.2.3.....100
/// 需要移除前3个数keepindex应该为4
/// </summary>
/// <param name="key"></param>
/// <param name="keepIndex"></param>
public void ListRemove(string key, int keepIndex)
{
RedisHelper.LTrim(key, keepIndex, -1);
}
public bool Add(string key, string value, int expireSeconds = -1, bool isSliding = false)
{
return RedisHelper.Set(key, value, expireSeconds);
}
public bool AddObject(string key, object value, int expireSeconds = -1, bool isSliding = false)
{
return RedisHelper.Set(key, value, expireSeconds);
}
/// <summary>
/// 删除缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
public bool Remove(string key)
{
RedisHelper.Del(key);
return true;
}
/// <summary>
/// 批量删除缓存
/// </summary>
/// <param name="key">缓存Key集合</param>
/// <returns></returns>
public void RemoveAll(IEnumerable<string> keys)
{
RedisHelper.Del(keys.ToArray());
}
/// <summary>
/// 获取缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
public T Get<T>(string key) where T : class
{
return RedisHelper.Get<T>(key);
}
/// <summary>
/// 获取缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
public string Get(string key)
{
return RedisHelper.Get(key);
}
public void Dispose()
{
}
}
}

View File

@ -9,7 +9,6 @@ using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Api.SmartSportsEntitys;
using YD_XinWei.Api.Utilities;
using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School;
using YD_XinWei.Commons;

View File

@ -0,0 +1,86 @@
using YD_XinWei.Commons.Dto.LargeScreen;
using YD_XinWei.Commons.Dto.Open;
namespace YD_XinWei.Api.Services.Interface
{
public interface ICacheService
{
/// <summary>
/// 验证缓存项是否存在
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
bool Exists(string key);
/// <summary>
/// List写入head
/// </summary>
/// <param name="key"></param>
/// <param name="val"></param>
void LPush(string key, string val);
void RPush(string key, string val);
/// <summary>
/// List出队 lpop
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
object ListDequeue(string key);
/// <summary>
/// List出队 lpop
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
T ListDequeue<T>(string key) where T : class;
/// <summary>
/// 移除list中的数据keepIndex为保留的位置到最后一个元素如list 元素为1.2.3.....100
/// 需要移除前3个数keepindex应该为4
/// </summary>
/// <param name="key"></param>
/// <param name="keepIndex"></param>
void ListRemove(string key, int keepIndex);
/// <summary>
/// 添加缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <param name="value">缓存Value</param>
/// <param name="expiresIn">缓存时长</param>
/// <param name="isSliding">是否滑动过期(如果在过期时间内有操作,则以当前时间点延长过期时间) //new TimeSpan(0, 60, 0);</param>
/// <returns></returns>
bool AddObject(string key, object value, int expireSeconds = -1, bool isSliding = false);
bool Add(string key, string value, int expireSeconds = -1, bool isSliding = false);
/// <summary>
/// 删除缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
bool Remove(string key);
/// <summary>
/// 批量删除缓存
/// </summary>
/// <param name="key">缓存Key集合</param>
/// <returns></returns>
void RemoveAll(IEnumerable<string> keys);
/// <summary>
/// 获取缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
T Get<T>(string key) where T : class;
/// <summary>
/// 获取缓存
/// </summary>
/// <param name="key">缓存Key</param>
/// <returns></returns>
string Get(string key);
}
}

View File

@ -0,0 +1,18 @@
using YD_XinWei.Commons.Dto.LargeScreen;
using YD_XinWei.Commons.Dto.Open;
namespace YD_XinWei.Api.Services.Interface
{
/// <summary>
/// 大屏服务接口
/// </summary>
public interface ILargeScreenService
{
/// <summary>
/// 项目成绩大屏数据
/// </summary>
/// <param name="orgId"></param>
/// <returns></returns>
Task<LargeScreenDto> ItemResultLargeScreenData(int orgId);
}
}

View File

@ -5,7 +5,6 @@ using YD_XinWei.Api;
using YD_XinWei.Api.Entitys;
using YD_XinWei.Commons;
using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School;

View File

@ -10,6 +10,7 @@
public static string DbConnectionString { get; set; }
public static string SmartSportsString { get; set; }
public static string[] CorsUrls { get; set; }
public static string RedisConnectionString { get; set; }
public static WeChatConfig WeChat { get; set; }
public static void Init(IConfiguration configuration)

View File

@ -28,6 +28,7 @@
<ItemGroup>
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
<PackageReference Include="AutoMapper.Collection" Version="10.0.0" />
<PackageReference Include="CSRedisCore" Version="3.8.805" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />

View File

@ -29,6 +29,8 @@
//"DbConnectionString": " Data Source=101.132.164.149;Database=YD_XinWeiDB;User ID=sa;Password=Admin@123;Connect Timeout=500;",
//"SmartSportsString": " Data Source=101.132.164.149;Database=SmartSportsServerDB_QA;User ID=sa;Password=Admin@123;Connect Timeout=500;",
"RedisConnectionString": "8.153.108.90,Password=yd708090,SyncTimeout=15000,defaultDatabase=6",
"DbConnectionString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;",
"SmartSportsString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;",
"CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9994,http://localhost:9994",

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +0,0 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "6.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -1,5 +0,0 @@
{
"Version": 1,
"ManifestType": "Build",
"Endpoints": []
}

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View File

@ -1,40 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"VirtualPath": {
"StaticFile": "E:\\Web\\Static", //
"FolderName": "/Static" //访
},
"Secret": { //
"JWT": "BB3647441FFA4B5DB4E64A29B53CE525", //JWT
"Audience": "YD_XinWei",
"Issuer": "YD_XinWei.Api",
"User": "C5ABA9E202D94C43A3CA66002BF77FAF", //
"DB": "3F8B7B38AD3D484A89ACA513CBD79F36",
"Redis": "E6D90DDBC70C4F4EA3C312B6FCB473C8"
},
"ExpMinutes": "120", //JWT(=120),
"AppUrls": {
},
//"DbConnectionString": " Data Source=101.132.164.149;Database=YD_XinWeiDB;User ID=sa;Password=Admin@123;Connect Timeout=500;",
//"SmartSportsString": " Data Source=101.132.164.149;Database=SmartSportsServerDB_QA;User ID=sa;Password=Admin@123;Connect Timeout=500;",
"DbConnectionString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;",
"SmartSportsString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;",
"CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9994,http://localhost:9994",
"WeChat": {
"Appid": "xxx",
"Secret": "xxx"
}
}

View File

@ -1,23 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+629833a359012b1c016a5391ffb0e3a1c90c6fcd")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@ -1 +0,0 @@
902d86fd071c4988025647092d43a8037c7caa996e6fabe51daf1a57795595dd

View File

@ -1,21 +0,0 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = YD_XinWei.Api
build_property.RootNamespace = YD_XinWei.Api
build_property.ProjectDir = C:\Users\tangl\Desktop\Git\YD_XinWei\Server\YD_XinWei\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = C:\Users\tangl\Desktop\Git\YD_XinWei\Server\YD_XinWei
build_property._RazorSourceGeneratorDebug =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -1,19 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Microsoft.AspNetCore.Mvc.Versioning")]
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")]
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("YD_XinWei.Commons")]
// 由 MSBuild WriteCodeFragment 类生成。

Some files were not shown because too many files have changed in this diff Show More