This commit is contained in:
tanglong 2025-07-30 14:32:09 +08:00
parent 5ac1bdc673
commit 9ac5a2b1d2
43 changed files with 606 additions and 2016 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

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
[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+dc262ec0f86c14b16059c84f412c1f71e8f999ff")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5ac1bdc673397775553b1f2074c48c9a91880574")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")] [assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
03677df9fbe6bfffea0082c975e1ef93021dd50ab9e83b42574831346ed0b1fd dc8c1171cb7cdd2a9178f8a1f1100303d642d6f2a20a94ecb8325f6b59c9f350

View File

@ -1 +1 @@
37202eee9409386a5d03c6326c30ea5c84ae83e55439c7dd87f6b2f6c13b7814 bfd8ed8c304f502e34e9210109499703fe4789a3fa8c8f42ff81b7516d8c07e4

View File

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

@ -8,7 +8,6 @@ using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Api.SmartSportsEntitys; using YD_XinWei.Api.SmartSportsEntitys;
using YD_XinWei.Api.Utilities; using YD_XinWei.Api.Utilities;
using YD_XinWei.Commons.Dto.Common; using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.Open; using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School; using YD_XinWei.Commons.Dto.School;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory; using static Microsoft.EntityFrameworkCore.DbLoggerCategory;

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

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

View File

@ -63,7 +63,8 @@ namespace YD_XinWei.Api
services.AddScoped<IXinWeiService, XinWeiService>(); services.AddScoped<IXinWeiService, XinWeiService>();
services.AddScoped<ICaching, MemoryCaching>(); //services.AddScoped<ICaching, MemoryCaching>();
services.AddScoped<ICacheService, RedisCacheService>();
services.AddSession(); services.AddSession();
services.AddMemoryCache(); services.AddMemoryCache();
services.AddHttpContextAccessor(); services.AddHttpContextAccessor();

View File

@ -9,6 +9,7 @@
public static string DbConnectionString { get; set; } public static string DbConnectionString { get; set; }
public static string SmartSportsString { get; set; } public static string SmartSportsString { get; set; }
public static string RedisConnectionString { get; set; }
public static string[] CorsUrls { get; set; } public static string[] CorsUrls { get; set; }
public static WeChatConfig WeChat { get; set; } public static WeChatConfig WeChat { get; set; }

View File

@ -30,6 +30,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" /> <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
<PackageReference Include="AutoMapper.Collection" 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.Authentication.JwtBearer" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />

View File

@ -26,6 +26,8 @@
"AppUrls": { "AppUrls": {
}, },
"RedisConnectionString": "8.153.108.90,Password=yd708090,SyncTimeout=15000,defaultDatabase=6",
//"DbConnectionString": " Data Source=101.132.164.149;Database=YD_XinWeiDB;User ID=sa;Password=Admin@123;Connect Timeout=500;", //"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;", //"SmartSportsString": " Data Source=101.132.164.149;Database=SmartSportsServerDB_QA;User ID=sa;Password=Admin@123;Connect Timeout=500;",

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.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+dc262ec0f86c14b16059c84f412c1f71e8f999ff")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5ac1bdc673397775553b1f2074c48c9a91880574")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
f27a190f1971429e810ac6eba4f1fd5386ffcf942db62d518a0da6168ecda63a 9e4c6efeba01e421e9b7a8e0a349cdf7d23535612c6ae4e200177537845e725a

View File

@ -1 +1 @@
122bf4be167545f44a8b98bc77d1c63213a00809cdc85093619d034dd57ebcf4 865c74e4ba95345005e474337c34e111448b55af02c1f64ff56790fae61dda63

View File

@ -1 +0,0 @@
7b5af5f617f5a81707f8229723421712fcc945fcf46e84c8e7f12fea3d33dfa2

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,12 +0,0 @@
{
"Version": 1,
"Hash": "KP759nLzKnXJ+WS979JyaVeurWoEX66xHrJc8V9vLq8=",
"Source": "YD_XinWei.Api",
"BasePath": "_content/YD_XinWei.Api",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [],
"Assets": [],
"Endpoints": []
}

View File

@ -1,4 +0,0 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssetEndpoints.props" />
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>

View File

@ -1,3 +0,0 @@
<Project>
<Import Project="..\build\YD_XinWei.Api.props" />
</Project>

View File

@ -1,3 +0,0 @@
<Project>
<Import Project="..\buildMultiTargeting\YD_XinWei.Api.props" />
</Project>

View File

@ -151,6 +151,10 @@
"target": "Package", "target": "Package",
"version": "[10.0.0, )" "version": "[10.0.0, )"
}, },
"CSRedisCore": {
"target": "Package",
"version": "[3.8.805, )"
},
"Microsoft.AspNetCore.Authentication.JwtBearer": { "Microsoft.AspNetCore.Authentication.JwtBearer": {
"target": "Package", "target": "Package",
"version": "[6.0.0, )" "version": "[6.0.0, )"

View File

@ -77,6 +77,23 @@
"lib/net6.0/AutoMapper.Collection.dll": {} "lib/net6.0/AutoMapper.Collection.dll": {}
} }
}, },
"CSRedisCore/3.8.805": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "13.0.1",
"System.ValueTuple": "4.5.0"
},
"compile": {
"lib/netstandard2.0/CSRedisCore.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/CSRedisCore.dll": {
"related": ".xml"
}
}
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"type": "package", "type": "package",
"compile": { "compile": {
@ -1158,6 +1175,15 @@
} }
} }
}, },
"System.ValueTuple/4.5.0": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@ -1288,6 +1314,23 @@
"lib/net6.0/AutoMapper.Collection.dll" "lib/net6.0/AutoMapper.Collection.dll"
] ]
}, },
"CSRedisCore/3.8.805": {
"sha512": "H06j8J1qC+tuclDmPIE9qlVoXyrLJx9GDLLLScR3laCtloJG8jJMngUwKt4DDM584hyrWhGP1tbSLMIN6f9Veg==",
"type": "package",
"path": "csrediscore/3.8.805",
"files": [
".nupkg.metadata",
".signature.p7s",
"csrediscore.3.8.805.nupkg.sha512",
"csrediscore.nuspec",
"lib/net40/CSRedisCore.dll",
"lib/net40/CSRedisCore.xml",
"lib/net45/CSRedisCore.dll",
"lib/net45/CSRedisCore.xml",
"lib/netstandard2.0/CSRedisCore.dll",
"lib/netstandard2.0/CSRedisCore.xml"
]
},
"Humanizer.Core/2.8.26": { "Humanizer.Core/2.8.26": {
"sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", "sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==",
"type": "package", "type": "package",
@ -3112,6 +3155,50 @@
"version.txt" "version.txt"
] ]
}, },
"System.ValueTuple/4.5.0": {
"sha512": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==",
"type": "package",
"path": "system.valuetuple/4.5.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.ValueTuple.dll",
"lib/net461/System.ValueTuple.xml",
"lib/net47/System.ValueTuple.dll",
"lib/net47/System.ValueTuple.xml",
"lib/netcoreapp2.0/_._",
"lib/netstandard1.0/System.ValueTuple.dll",
"lib/netstandard1.0/System.ValueTuple.xml",
"lib/netstandard2.0/_._",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml",
"lib/uap10.0.16299/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net461/System.ValueTuple.dll",
"ref/net47/System.ValueTuple.dll",
"ref/netcoreapp2.0/_._",
"ref/netstandard2.0/_._",
"ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll",
"ref/uap10.0.16299/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.valuetuple.4.5.0.nupkg.sha512",
"system.valuetuple.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Windows.Extensions/4.7.0": { "System.Windows.Extensions/4.7.0": {
"sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", "sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==",
"type": "package", "type": "package",
@ -3143,6 +3230,7 @@
"net6.0": [ "net6.0": [
"AutoMapper.Collection >= 10.0.0", "AutoMapper.Collection >= 10.0.0",
"Autofac.Extensions.DependencyInjection >= 10.0.0", "Autofac.Extensions.DependencyInjection >= 10.0.0",
"CSRedisCore >= 3.8.805",
"Microsoft.AspNetCore.Authentication.JwtBearer >= 6.0.0", "Microsoft.AspNetCore.Authentication.JwtBearer >= 6.0.0",
"Microsoft.AspNetCore.Mvc.NewtonsoftJson >= 6.0.0", "Microsoft.AspNetCore.Mvc.NewtonsoftJson >= 6.0.0",
"Microsoft.AspNetCore.Mvc.Versioning >= 5.1.0", "Microsoft.AspNetCore.Mvc.Versioning >= 5.1.0",
@ -3218,6 +3306,10 @@
"target": "Package", "target": "Package",
"version": "[10.0.0, )" "version": "[10.0.0, )"
}, },
"CSRedisCore": {
"target": "Package",
"version": "[3.8.805, )"
},
"Microsoft.AspNetCore.Authentication.JwtBearer": { "Microsoft.AspNetCore.Authentication.JwtBearer": {
"target": "Package", "target": "Package",
"version": "[6.0.0, )" "version": "[6.0.0, )"

View File

@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "ZbgajAk+GL8=", "dgSpecHash": "cMv0KXgQ/n4=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei\\YD_XinWei\\YD_XinWei.Api.csproj", "projectFilePath": "C:\\Users\\tangl\\Desktop\\Git\\YD_XinWei\\YD_XinWei\\YD_XinWei.Api.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
@ -9,6 +9,7 @@
"C:\\Users\\tangl\\.nuget\\packages\\autofac.extensions.dependencyinjection\\10.0.0\\autofac.extensions.dependencyinjection.10.0.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\autofac.extensions.dependencyinjection\\10.0.0\\autofac.extensions.dependencyinjection.10.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\automapper\\13.0.0\\automapper.13.0.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\automapper\\13.0.0\\automapper.13.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\automapper.collection\\10.0.0\\automapper.collection.10.0.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\automapper.collection\\10.0.0\\automapper.collection.10.0.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\csrediscore\\3.8.805\\csrediscore.3.8.805.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\6.0.0\\microsoft.aspnetcore.authentication.jwtbearer.6.0.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\6.0.0\\microsoft.aspnetcore.authentication.jwtbearer.6.0.0.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.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
@ -72,6 +73,7 @@
"C:\\Users\\tangl\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512", "C:\\Users\\tangl\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512",
"C:\\Users\\tangl\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512" "C:\\Users\\tangl\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512"
], ],
"logs": [] "logs": []