通用返回结果

This commit is contained in:
汤龙 2025-01-14 14:51:07 +08:00
parent 8921151d12
commit c32be78a3d
62 changed files with 693 additions and 621 deletions

View File

@ -0,0 +1,61 @@

using YD_XinWei.Commons.Enum;
namespace YD_XinWei.Commons.Dto
{
public static class ResponseMsg
{
public static string GetMsg(this ResponseType responseType)
{
string msg;
switch (responseType)
{
case ResponseType.LoginExpiration:
msg = "登陆已过期,请重新登陆"; break;
case ResponseType.TokenExpiration:
msg = "Token已过期,请重新登陆"; break;
case ResponseType.AccountLocked:
msg = "帐号已被锁定"; break;
case ResponseType.LoginSuccess:
msg = "登陆成功"; break;
case ResponseType.ParametersLack:
msg = "参数不完整"; break;
case ResponseType.NoPermissions:
msg = "没有权限操作"; break;
case ResponseType.NoRolePermissions:
msg = "角色没有权限操作"; break;
case ResponseType.ServerError:
msg = "服务器好像出了点问题....."; break;
case ResponseType.LoginError:
msg = "用户名或密码错误"; break;
case ResponseType.SaveSuccess:
msg = "保存成功"; break;
case ResponseType.NoKey:
msg = "没有主键不能编辑"; break;
case ResponseType.NoKeyDel:
msg = "没有主键不能删除"; break;
case ResponseType.KeyError:
msg = "主键不正确或没有传入主键"; break;
case ResponseType.EidtSuccess:
msg = "编辑成功"; break;
case ResponseType.DelSuccess:
msg = "删除成功"; break;
case ResponseType.RegisterSuccess:
msg = "注册成功"; break;
case ResponseType.AuditSuccess:
msg = "审核成功"; break;
case ResponseType.ModifyPwdSuccess:
msg = "密码修改成功"; break;
case ResponseType.OperSuccess:
msg = "操作成功"; break;
case ResponseType.PINError:
msg = "验证码不正确"; break;
default: msg = responseType.ToString(); break;
}
return msg;
}
}
}

View File

@ -0,0 +1,84 @@

using YD_XinWei.Commons.Enum;
namespace YD_XinWei.Commons.Dto
{
public class WebResponseContent
{
public WebResponseContent()
{
}
public WebResponseContent(bool Success)
{
this.Success = Success;
}
public bool Success { get; set; }
public string ErrorCode { get; set; }
public string ErrorMsg { get; set; }
//public string ErrorMsg { get; set; }
public object Data { get; set; }
public WebResponseContent OK()
{
this.Success = true;
return this;
}
public static WebResponseContent Instance
{
get { return new WebResponseContent(); }
}
public WebResponseContent OK(string ErrorMsg = null,object data=null)
{
this.Success = true;
this.ErrorMsg = ErrorMsg;
this.Data = data;
return this;
}
public WebResponseContent OK(ResponseType responseType)
{
return Set(responseType, true);
}
public WebResponseContent Error(string ErrorMsg = null)
{
this.Success = false;
this.ErrorMsg = ErrorMsg;
return this;
}
public WebResponseContent Error(ResponseType responseType)
{
return Set(responseType, false);
}
public WebResponseContent Set(ResponseType responseType)
{
bool? b = null;
return this.Set(responseType, b);
}
public WebResponseContent Set(ResponseType responseType, bool? Success)
{
return this.Set(responseType, null, Success);
}
public WebResponseContent Set(ResponseType responseType, string msg)
{
bool? b = null;
return this.Set(responseType, msg, b);
}
public WebResponseContent Set(ResponseType responseType, string msg, bool? Success)
{
if (Success != null)
{
this.Success = (bool)Success;
}
this.ErrorCode = ((int)responseType).ToString();
if (!string.IsNullOrEmpty(msg))
{
ErrorMsg = msg;
return this;
}
ErrorMsg = responseType.GetMsg();
return this;
}
}
}

View File

@ -0,0 +1,29 @@

namespace YD_XinWei.Commons.Enum
{
public enum ResponseType
{
ServerError = 1,
LoginExpiration = 302,
ParametersLack = 303,
TokenExpiration,
PINError,
NoPermissions,
NoRolePermissions,
LoginError,
AccountLocked,
LoginSuccess,
SaveSuccess,
AuditSuccess,
OperSuccess,
RegisterSuccess,
ModifyPwdSuccess,
EidtSuccess,
DelSuccess,
NoKey,
NoKeyDel,
KeyError,
Other
}
}

View File

@ -2,46 +2,48 @@
using System.Collections.Generic;
using System.Text;
namespace YD_XinWei.Commons.Exceptions
namespace YD_XinWei.Commons.Exceptions
{
/// <summary>
/// 通过业务异常类
/// </summary>
public class BizException : Exception
{
public string ErrorNo { get; } // 业务异常编号
public string ErrorInfo { get; }// 业务异常信息
public string ErrorCode { get; } // 业务异常编号
public string ErrorMsg { get; }// 业务异常信息
public bool Success { get; set; } = false;
public IDictionary<string, object> Infos { set; get; } // 业务异常详细信息
public BizException(string errorNo, string errorInfo) : base(errorInfo)
public BizException(string ErrorCode, string ErrorMsg) : base(ErrorMsg)
{
ErrorNo = errorNo;
ErrorInfo = errorInfo;
ErrorCode = ErrorCode;
ErrorMsg = ErrorMsg;
}
public BizException(string errorNo, string errorInfo, Exception e) : base(errorInfo, e)
public BizException(string ErrorCode, string ErrorMsg, Exception e) : base(ErrorMsg, e)
{
ErrorNo = errorNo;
ErrorInfo = errorInfo;
ErrorCode = ErrorCode;
ErrorMsg = ErrorMsg;
}
public BizException(string errorInfo) : base(errorInfo)
public BizException(string ErrorMsg) : base(ErrorMsg)
{
ErrorNo = "-1";
ErrorInfo = errorInfo;
ErrorCode = "-1";
ErrorMsg = ErrorMsg;
}
public BizException(string errorInfo, Exception e) : base(errorInfo, e)
public BizException(string ErrorMsg, Exception e) : base(ErrorMsg, e)
{
ErrorNo = "-1";
ErrorInfo = errorInfo;
ErrorCode = "-1";
ErrorMsg = ErrorMsg;
}
public BizException(Exception e)
{
ErrorNo = "-1";
ErrorInfo = e.Message;
ErrorCode = "-1";
ErrorMsg = e.Message;
}
}
}

View File

@ -2,11 +2,12 @@
using System.Collections.Generic;
using System.Text;
namespace YD_XinWei.Commons.Exceptions
namespace YD_XinWei.Commons.Exceptions
{
public class CommonException
{
public string ErrorNo; // 错误编号 0001 0002 0033 0004
public string ErrorInfo;// 规范错误信息
public string ErrorCode; // 错误编号 0001 0002 0033 0004
public string ErrorMsg;// 规范错误信息
public bool Success;
}
}

View File

@ -4,8 +4,9 @@ using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using static Aliyun.OSS.Model.ListPartsResult;
namespace YD_XinWei.Commons.Exceptions.Handlers
namespace YD_XinWei.Commons.Exceptions.Handlers
{
/// <summary>
/// 自定义业务异常处理,转换成为json格式
@ -19,8 +20,9 @@ namespace YD_XinWei.Commons.Exceptions.Handlers
{
// 1.1 将异常转换成为json结果
dynamic exceptionResult = new ExpandoObject();
exceptionResult.ErrorNo = bizException.ErrorNo;
exceptionResult.ErrorInfo = bizException.ErrorInfo;
exceptionResult.Success = false;
exceptionResult.ErrorCode = bizException.ErrorCode;
exceptionResult.ErrorMsg = bizException.ErrorMsg;
if (bizException.Infos != null)
{
exceptionResult.infos = bizException.Infos;
@ -31,8 +33,8 @@ namespace YD_XinWei.Commons.Exceptions.Handlers
{
// 1.2 处理其他类型异常Exception
dynamic exceptionResult = new ExpandoObject();
exceptionResult.ErrorNo = -1;
exceptionResult.ErrorInfo = context.Exception.Message;
exceptionResult.ErrorCode = -1;
exceptionResult.ErrorMsg = context.Exception.Message;
// 1.3 包装异常信息进行异常返回
context.Result = new JsonResult(exceptionResult);

View File

@ -1,42 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace YD_XinWei.Commons.Filters
{
/// <summary>
/// 通用结果
/// </summary>
public class CommonResult
{
public const string SUCCESS = "0";
public string ErrorNo { set; get; } // 是否成功状态
public string ErrorInfo { set; get; } // 失败信息
public IDictionary<string, object> resultDic { set; get; }// 用于非结果集返回
public IList<IDictionary<string, object>> resultList { set; get; }// 用于结果集返回
public dynamic Result { set; get; }// 返回动态结果(通用)
public CommonResult()
{
resultDic = new Dictionary<string, object>();
resultList = new List<IDictionary<string, object>>();
}
public CommonResult(string errorNo, string errorInfo)
{
this.ErrorNo = errorNo;
this.ErrorInfo = errorInfo;
resultDic = new Dictionary<string, object>();
resultList = new List<IDictionary<string, object>>();
}
public CommonResult(string errorNo, string erroInfo, IDictionary<string, object> resultDic, IList<IDictionary<string, object>> resultList) : this(errorNo, erroInfo)
{
this.resultDic = resultDic;
this.resultList = resultList;
this.resultDic = resultDic;
this.resultList = resultList;
}
}
}

View File

@ -0,0 +1,140 @@
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using YD_XinWei.Commons.Dto;
namespace VYD_XinWei.Commons.Filters
{
public class DictionaryException : Exception
{
public Dictionary<string, string> ErrorData { get; set; }
//public override string Message => ErrorData??.tojson();
}
public class CustomApiResponseFilter : IResultFilter
{
public void OnResultExecuted(ResultExecutedContext context)
{
}
public void OnResultExecuting(ResultExecutingContext context)
{
// 检查是否为 FileResult,如果是,则不进行任何操作
if (context.Result is FileResult)
// 如果是文件结果,保持原样
return;
// 检查结果是否为 ObjectResult
if (context.Result is ObjectResult objectResult)
{
//LoggerType loggerType = LoggerType.Info;
WebResponseContent webResponseContent = new WebResponseContent() { Data= objectResult.Value };
// 如果没有设置状态码,默认为 200
if (objectResult.StatusCode==null|| objectResult.StatusCode.Value == 200)
{
webResponseContent.ErrorCode = StatusCodes.Status200OK.ToString();
webResponseContent.Success = true;
}
else
{
webResponseContent.ErrorCode = objectResult.StatusCode.Value.ToString();
webResponseContent.Success = false;
webResponseContent.ErrorMsg = "服务器内部状态异常";
//loggerType=LoggerType.Exception;
}
JsonResult res = new JsonResult(webResponseContent) { StatusCode = StatusCodes.Status200OK };
context.Result = res;
//// 获取 HttpContext
//var httpContext = context.HttpContext;
//var request = HttpRequestResponseFormat.FormatRequest(httpContext.Request).Result;
//VOL.Core.Services.Logger.OK(loggerType, request,webResponseContent.Serialize());
}
}
}
public class ExceptionFilter : IExceptionFilter
{
private readonly Dictionary<Type, string> _exceptions;
public ExceptionFilter()
{
_exceptions = new Dictionary<Type, string>
{
{typeof(ArgumentException),"1001"} ,
{typeof(DictionaryException),"1002"} ,
};
}
void IExceptionFilter.OnException(ExceptionContext context)
{
Exception exception = context.Exception;
int statusCode = 500;
string message = null;
string code = "500";
object data = null;
if(exception is CustomException customException)
{
message = customException.Message;
code = customException.Code;
data = customException.GetResult();
statusCode = customException.Status;
}
if (_exceptions.ContainsKey(exception.GetType()))
{
code = _exceptions[exception.GetType()];
message = exception.Message;
}
else
message = exception.Message;
WebResponseContent exceptionJsonResult = new WebResponseContent() { ErrorMsg = message, ErrorCode = code, Data = data, Success = false };
context.Result = new JsonResult(exceptionJsonResult) {StatusCode = StatusCodes.Status200OK };
//// 获取 HttpContext
//var httpContext = context.HttpContext;
//var request = HttpRequestResponseFormat.FormatRequest(httpContext.Request).Result;
//VOL.Core.Services.Logger.OK(LoggerType.Exception, request, exceptionJsonResult.Serialize());
}
}
public abstract class CustomException : Exception
{
public CustomException(string? message) : base(message)
{
}
public CustomException(string? message, Exception? innerException) : base()
{
}
public virtual int Status { get;protected set; } = 500;
public abstract string Code { get; set; }
public abstract object GetResult();
}
public abstract class CustomException<T> : CustomException
{
public CustomException(string? message) : base(message)
{
}
public CustomException(string? message, Exception? innerException) : base(message, innerException)
{
}
public virtual T Result { get; set; }
public override object GetResult()
{
return Result;
}
}
public class CustomDeleteIdsException : CustomException<List<object>>
{
public override string Code { get; set; } = "2001";
public CustomDeleteIdsException(List<object> ids, string? message) : base(message)
{
this.Result = ids;
}
}
public class CustomDeleteIntIdsException : CustomException<List<int>>
{
public override string Code { get; set; } = "2002";
public CustomDeleteIntIdsException(List<int> ids, string message) : base(message)
{
Result = ids;
}
}
}

View File

@ -1,117 +0,0 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace YD_XinWei.Commons.Filters
{
/// <summary>
/// 页面通用结果包装器
/// </summary>
public class FrontResultWapper : IAsyncResultFilter
{
public async Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)
{
if (context.Result is ObjectResult objectResult)
{
int? StatusCode = objectResult.StatusCode;
if (StatusCode == 200
|| StatusCode == 201
|| StatusCode == 202
|| !StatusCode.HasValue)
{
// 1、包装正常结果
objectResult.Value = WrapSuccessResult(objectResult.Value);
}
else
{
// 2、包装异常结果
objectResult.Value = WrapFailResult(objectResult);
}
}
await next();
}
private object WrapFailResult(ObjectResult objectResult)
{
dynamic warpResult = new ExpandoObject();
warpResult.ErrorNo = objectResult.StatusCode;
if (objectResult.Value is string info)
{
// 1、字符串异常信息
warpResult.ErrorInfo = info;
}
else
{
// 2、类型异常信息
warpResult.ErrorInfo = new JsonResult(objectResult.Value).Value;
}
return warpResult;
}
private object WrapSuccessResult(object value)
{
// 1、创建返回结果
dynamic warpResult = new ExpandoObject();
warpResult.ErrorNo = "0";
warpResult.ErrorInfo = "";
// 2、获取结果(输出到页面:结果集List<>,非结果集Dic)
if (value.GetType().Name.Contains("List"))
{
// 转换成json
warpResult.ResultList = new JsonResult(value).Value;
}
else if (value.GetType().Name.Contains("Dictionary"))
{
//2.1 判断是否含有ErrorInfo
IDictionary dictionary = (IDictionary)value;
if (dictionary.Contains("ErrorInfo"))
{
warpResult.ErrorNo = dictionary["ErrorNo"];
warpResult.ErrorInfo = dictionary["ErrorInfo"];
// 2.2 删除字典里面的ErrorNo,ErrorInfo
dictionary.Remove("ErrorNo");
dictionary.Remove("ErrorInfo");
}
warpResult.ResultDic = new JsonResult(value).Value;
}
else
{
warpResult.ResultDic = new JsonResult(value).Value;
}
return warpResult;
}
/// <summary>
/// 对象转换成字典
/// </summary>
/// <param name="value2"></param>
/// <returns></returns>
private IDictionary<string, object> ToDictionary(object value2)
{
IDictionary<string, object> valuePairs = new Dictionary<string, object>();
// 1、获取反射类型
Type type = value2.GetType();
// 2、获取所有反射属性
PropertyInfo[] propertyInfos = type.GetProperties(BindingFlags.Public | BindingFlags.Instance);
// 3、遍历PropertyInfo
foreach (PropertyInfo info in propertyInfos)
{
valuePairs.Add(info.Name, Convert.ToString(info.GetValue(value2)));
}
return valuePairs;
}
}
}

View File

@ -1,111 +0,0 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace YD_XinWei.Commons.Filters
{
/// <summary>
/// 通过结果包装器
/// </summary>
public class MiddlewareResultWapper : IAsyncResultFilter
{
public async Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)
{
if (context.Result is ObjectResult objectResult)
{
int? StatusCode = objectResult.StatusCode;
if (StatusCode == 200
|| StatusCode == 201
|| StatusCode == 202
|| !StatusCode.HasValue)
{
// 1、包装正常结果
objectResult.Value = WrapSuccessResult(objectResult.Value);
}
else
{
// 2、包装异常结果
objectResult.Value = WrapFailResult(objectResult);
}
}
await next();
}
private object WrapFailResult(ObjectResult objectResult)
{
dynamic warpResult = new ExpandoObject();
warpResult.ErrorNo = objectResult.StatusCode;
if (objectResult.Value is string info)
{
// 1、字符串异常信息
warpResult.ErrorInfo = info;
}
else
{
// 2、类型异常信息
warpResult.ErrorInfo = new JsonResult(objectResult.Value).Value;
}
return warpResult;
}
private object WrapSuccessResult(object value)
{
// 1、创建返回结果
dynamic warpResult = new ExpandoObject();
warpResult.ErrorNo = "0";
warpResult.ErrorInfo = "";
// 2、判断是否为字典
if (value.GetType().Name.Contains("Dictionary"))
{
//2.1 判断是否含有ErrorInfo
IDictionary dictionary = (IDictionary)value;
if (dictionary.Contains("ErrorInfo"))
{
warpResult.ErrorNo = dictionary["ErrorNo"];
warpResult.ErrorInfo = dictionary["ErrorInfo"];
// 2.2 删除字典里面的ErrorNo,ErrorInfo
dictionary.Remove("ErrorNo");
dictionary.Remove("ErrorInfo");
}
}
// 3、获取结果
warpResult.Result = new JsonResult(value).Value;
return warpResult;
}
/// <summary>
/// 对象转换成字典
/// </summary>
/// <param name="value2"></param>
/// <returns></returns>
private IDictionary<string, object> ToDictionary(object value2)
{
IDictionary<string, object> valuePairs = new Dictionary<string, object>();
// 1、获取反射类型
Type type = value2.GetType();
// 2、获取所有反射属性
PropertyInfo[] propertyInfos = type.GetProperties(BindingFlags.Public | BindingFlags.Instance);
// 3、遍历PropertyInfo
foreach (PropertyInfo info in propertyInfos)
{
valuePairs.Add(info.Name, Convert.ToString(info.GetValue(value2)));
}
return valuePairs;
}
}
}

View File

@ -68,8 +68,8 @@ namespace YD_XinWei.Commons.Middlewares
// 1、异常结果转换成json格式输出
dynamic warpResult = new ExpandoObject();
warpResult.ErrorNo = "-1";
warpResult.ErrorInfo = msg;
warpResult.ErrorCode = "-1";
warpResult.ErrorMsg = msg;
// 2、异常json格式输出
var stream = context.Response.Body;

View File

@ -14,7 +14,7 @@ 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+ee7d8442c65c2a19e73a1f3624e493512a92aef4")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8921151d120d36c3fa58f4306a1408044c7e446b")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
3e2582731bda0d8e1bb1fa953c832babe4e1e7f59da3c2e04f491ccbda7ff81a
a6dc20656cf0622c9dbb2f735e331212f267aeabd8c8f92068cef63aa8b728ed

View File

@ -8,8 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = YD_XinWei.Commons
build_property.ProjectDir = C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\
build_property.ProjectDir = C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -1 +1 @@
4d57a72614e772b432a015ae051d941d7dbcfcc830b5cba76427c298dde65d39
ae2c042a8b7be6ecb432a4aec32dc0838c6aae4cc68bd1835150f3e11c091bd9

View File

@ -11,3 +11,16 @@ C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.pdb
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\ref\YD_XinWei.Commons.dll
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.sourcelink.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\bin\Debug\net6.0\YD_XinWei.Commons.deps.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\bin\Debug\net6.0\YD_XinWei.Commons.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\bin\Debug\net6.0\YD_XinWei.Commons.pdb
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.csproj.AssemblyReference.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.AssemblyInfoInputs.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.AssemblyInfo.cs
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.csproj.CoreCompileInputs.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.sourcelink.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\refint\YD_XinWei.Commons.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\YD_XinWei.Commons.pdb
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei.Commons\obj\Debug\net6.0\ref\YD_XinWei.Commons.dll

View File

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

View File

@ -1,24 +1,23 @@
{
"format": 1,
"restore": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {}
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {}
},
"projects": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectUniqueName": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectName": "YD_XinWei.Commons",
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\TangLong\\.nuget\\packages\\",
"outputPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\HHST102\\.nuget\\packages\\",
"outputPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\TangLong\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\HHST102\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@ -44,9 +43,8 @@
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
"auditMode": "direct"
}
},
"frameworks": {
"net6.0": {
@ -89,7 +87,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403\\RuntimeIdentifierGraph.json"
}
}
}

View File

@ -5,13 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\TangLong\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\HHST102\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.1</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\TangLong\.nuget\packages\" />
<SourceRoot Include="C:\Users\HHST102\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>
</Project>

View File

@ -875,25 +875,23 @@
]
},
"packageFolders": {
"C:\\Users\\TangLong\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
"C:\\Users\\HHST102\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectUniqueName": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectName": "YD_XinWei.Commons",
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\TangLong\\.nuget\\packages\\",
"outputPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\HHST102\\.nuget\\packages\\",
"outputPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\TangLong\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\HHST102\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@ -919,9 +917,8 @@
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
"auditMode": "direct"
}
},
"frameworks": {
"net6.0": {
@ -964,20 +961,8 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403\\RuntimeIdentifierGraph.json"
}
}
},
"logs": [
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Text.Encodings.Web\" 4.5.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-ghhp-997w-qr28",
"libraryId": "System.Text.Encodings.Web",
"targetGraphs": [
"net6.0"
]
}
]
}
}

View File

@ -1,43 +1,32 @@
{
"version": 2,
"dgSpecHash": "wKC9CAFzTlg=",
"dgSpecHash": "LBfi0OaUoPk=",
"success": true,
"projectFilePath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectFilePath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"expectedPackageFiles": [
"C:\\Users\\TangLong\\.nuget\\packages\\aliyun.oss.sdk.netcore\\2.14.1\\aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\6.0.0\\microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\6.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.bcl.timeprovider\\8.0.1\\microsoft.bcl.timeprovider.8.0.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.primitives\\2.2.0\\microsoft.extensions.primitives.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.0\\microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.0\\microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.0\\microsoft.identitymodel.logging.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.0\\microsoft.identitymodel.tokens.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.0\\system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.memory\\4.5.1\\system.memory.4.5.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.1\\system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512"
"C:\\Users\\HHST102\\.nuget\\packages\\aliyun.oss.sdk.netcore\\2.14.1\\aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\6.0.0\\microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\6.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.bcl.timeprovider\\8.0.1\\microsoft.bcl.timeprovider.8.0.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.primitives\\2.2.0\\microsoft.extensions.primitives.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.0\\microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.0\\microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.0\\microsoft.identitymodel.logging.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.0\\microsoft.identitymodel.tokens.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.0\\system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.memory\\4.5.1\\system.memory.4.5.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.1\\system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512"
],
"logs": [
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Text.Encodings.Web\" 4.5.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-ghhp-997w-qr28",
"libraryId": "System.Text.Encodings.Web",
"targetGraphs": [
"net6.0"
]
}
]
"logs": []
}

View File

@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using YD_XinWei.Api.Services.Impl;
using YD_XinWei.Api.Services.Interface;
@ -39,6 +40,7 @@ namespace YD_XinWei.Api.Controllers
/// <param name="teacherPhoneNo"></param>
/// <returns></returns>
[HttpGet("HomeWorkRecord")]
[AllowAnonymous]
public async Task<List<HomeWorkRecordDto>> HomeWorkRecord(string teacherPhoneNo)
{
var res = await _homeWorkService.HomeWorkRecord(teacherPhoneNo);

View File

@ -0,0 +1,27 @@
using Microsoft.AspNetCore.Mvc;
using TGJ.NetworkFreight.SeckillAggregateServices.Pos.UserService;
using YD_XinWei.Api;
using YD_XinWei.Api.Entitys;
using YD_XinWei.Commons;
using YD_XinWei.Commons.Dto.HomeWork;
using YD_XinWei.Commons.Dto.School;
namespace YD_XinWei.Api.Services.Interface
{
public interface IXinWeiService
{
/// <summary>
/// 作业记录
/// </summary>
/// <param name="teacherPhoneNo"></param>
/// <returns></returns>
Task<List<HomeWorkRecordDto>> HomeWorkRecord(string teacherPhoneNo);
/// <summary>
/// 作业详情
/// </summary>
/// <param name="homeWorkId"></param>
/// <returns></returns>
Task<HomeWorkDetailsDto> HomeWorkDetails(int homeWorkId);
}
}

View File

@ -5,8 +5,6 @@ using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using YD_XinWei.Commons.Exceptions.Handlers;
using YD_XinWei.Commons.Filters;
using YD_XinWei.Commons.MemoryCaches;
using YD_XinWei.Commons.Users;
using Newtonsoft.Json.Serialization;
@ -23,6 +21,8 @@ using YD_XinWei.Api.AutoMappers;
using YD_XinWei.Api.Services.Interface;
using YD_XinWei.Api.Context;
using YD_XinWei.Api.Extensions;
using System.Text.Json;
using VYD_XinWei.Commons.Filters;
namespace YD_XinWei.Api
{
@ -106,6 +106,10 @@ namespace YD_XinWei.Api
.RequireAuthenticatedUser()
.Build();
options.Filters.Add(new AuthorizeFilter(policy)); // 全局应用 [Authorize]
}).AddNewtonsoftJson(options =>
{
options.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver();
options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss";
});
//必须appsettings.json中配置
@ -128,14 +132,14 @@ namespace YD_XinWei.Api
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
services.AddControllers(options =>
{
options.Filters.Add<FrontResultWapper>(); // 1、通用结果
options.Filters.Add<BizExceptionHandler>();// 2、通用异常
options.Filters.Add<CustomApiResponseFilter>(); // 1、通用结果
options.Filters.Add<ExceptionFilter>();// 2、通用异常
options.ModelBinderProviders.Insert(0, new SysUserModelBinderProvider());// 3、自定义模型绑定
options.SuppressImplicitRequiredAttributeForNonNullableReferenceTypes = true;
}).AddNewtonsoftJson(options =>
}).AddNewtonsoftJson(op =>
{
// 防止将大写转换成小写
options.SerializerSettings.ContractResolver = new DefaultContractResolver();
op.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver();
op.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss";
});
services.AddSwaggerGen(c =>
{

View File

@ -1 +0,0 @@
{"ContentRoots":["C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\wwwroot\\"],"Root":{"Children":null,"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}

View File

@ -342,6 +342,20 @@
<param name="relevanceId"></param>
<returns></returns>
</member>
<member name="M:YD_XinWei.Api.Services.Interface.IXinWeiService.HomeWorkRecord(System.String)">
<summary>
作业记录
</summary>
<param name="teacherPhoneNo"></param>
<returns></returns>
</member>
<member name="M:YD_XinWei.Api.Services.Interface.IXinWeiService.HomeWorkDetails(System.Int32)">
<summary>
作业详情
</summary>
<param name="homeWorkId"></param>
<returns></returns>
</member>
<member name="P:YD_XinWei.Api.SmartSportsEntitys.Sys_User.UserName">
<summary>
帐号

View File

@ -14,7 +14,7 @@ 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+ee7d8442c65c2a19e73a1f3624e493512a92aef4")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8921151d120d36c3fa58f4306a1408044c7e446b")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
e71f30afa85ca389ae56379331ce99384bc9053eda925ca5a2e3064391b76cc8
6b7f4952f56f90ed8d32f429966af1af10552418754282e0d6b9702905d9973e

View File

@ -9,13 +9,11 @@ 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\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei\
build_property.ProjectDir = C:\Users\HHST102\Desktop\Code\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\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei
build_property.MSBuildProjectDirectory = C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei
build_property._RazorSourceGeneratorDebug =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -1 +1 @@
2d8ab7d4c4dbacec1e12950ec607ee76ba83ea6e54a1edbc567e4f98f9d79903
e9cf56b89a9297acd0bed64224cf227650e313122bac9e962c8a484ed69408f8

View File

@ -179,3 +179,88 @@ C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_Xi
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.genruntimeconfig.cache
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\ref\YD_XinWei.Api.dll
C:\Users\TangLong\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.sourcelink.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\appsettings.Development.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\appsettings.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.exe
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.deps.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.runtimeconfig.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.pdb
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Api.xml
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Aliyun.OSS.Core.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Autofac.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Autofac.Extensions.DependencyInjection.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\AutoMapper.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\AutoMapper.Collection.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Humanizer.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.AspNetCore.JsonPatch.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Bcl.TimeProvider.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Data.SqlClient.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Design.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Identity.Client.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.OpenApi.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Microsoft.Win32.SystemEvents.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Newtonsoft.Json.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Newtonsoft.Json.Bson.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Configuration.ConfigurationManager.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Diagnostics.DiagnosticSource.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Drawing.Common.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Runtime.Caching.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Security.Permissions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\System.Windows.Extensions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Commons.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\bin\Debug\net6.0\YD_XinWei.Commons.pdb
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.csproj.AssemblyReference.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.AssemblyInfoInputs.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.AssemblyInfo.cs
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.csproj.CoreCompileInputs.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.MvcApplicationPartsAssemblyInfo.cs
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.MvcApplicationPartsAssemblyInfo.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.sourcelink.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets.build.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets.development.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets\msbuild.YD_XinWei.Api.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets\msbuild.build.YD_XinWei.Api.props
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.YD_XinWei.Api.props
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.YD_XinWei.Api.props
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\staticwebassets.pack.json
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\scopedcss\bundle\YD_XinWei.Api.styles.css
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWe.7845F25F.Up2Date
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\refint\YD_XinWei.Api.dll
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.xml
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.pdb
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\YD_XinWei.Api.genruntimeconfig.cache
C:\Users\HHST102\Desktop\Code\YD_XinWei\Server\YD_XinWei\obj\Debug\net6.0\ref\YD_XinWei.Api.dll

View File

@ -1 +1 @@
8f600b69930d1c868b0d8cf16beca96f9dca64d0a3ee6c5610ba18b0c9543755
060f56a1a9a01341736e0740bbb12803aab2a8b5e7b43736aebdfccc3610cbc8

View File

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

View File

@ -342,6 +342,20 @@
<param name="relevanceId"></param>
<returns></returns>
</member>
<member name="M:YD_XinWei.Api.Services.Interface.IXinWeiService.HomeWorkRecord(System.String)">
<summary>
作业记录
</summary>
<param name="teacherPhoneNo"></param>
<returns></returns>
</member>
<member name="M:YD_XinWei.Api.Services.Interface.IXinWeiService.HomeWorkDetails(System.Int32)">
<summary>
作业详情
</summary>
<param name="homeWorkId"></param>
<returns></returns>
</member>
<member name="P:YD_XinWei.Api.SmartSportsEntitys.Sys_User.UserName">
<summary>
帐号

View File

@ -1,20 +1,11 @@
{
"Version": 1,
"Hash": "XHClHja+7YLS8/AiCh/rUC6UCeTQqYmbW+zKqtUO+VA=",
"Hash": "rBCLZOUjwISsB+SX42YT2TnXFxFh+mQJBrhM1QYR9dM=",
"Source": "YD_XinWei.Api",
"BasePath": "_content/YD_XinWei.Api",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [
{
"Name": "YD_XinWei.Api\\wwwroot",
"Source": "YD_XinWei.Api",
"ContentRoot": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\wwwroot\\",
"BasePath": "_content/YD_XinWei.Api",
"Pattern": "**"
}
],
"Assets": [],
"Endpoints": []
"DiscoveryPatterns": [],
"Assets": []
}

View File

@ -1 +0,0 @@
{"ContentRoots":["C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\wwwroot\\"],"Root":{"Children":null,"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}

View File

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

View File

@ -1,24 +1,23 @@
{
"format": 1,
"restore": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj": {}
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj": {}
},
"projects": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectUniqueName": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"projectName": "YD_XinWei.Commons",
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\TangLong\\.nuget\\packages\\",
"outputPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj",
"packagesPath": "C:\\Users\\HHST102\\.nuget\\packages\\",
"outputPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\TangLong\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\HHST102\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@ -44,9 +43,8 @@
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
"auditMode": "direct"
}
},
"frameworks": {
"net6.0": {
@ -89,25 +87,24 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj": {
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"projectUniqueName": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"projectName": "YD_XinWei.Api",
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"packagesPath": "C:\\Users\\TangLong\\.nuget\\packages\\",
"outputPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\obj\\",
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"packagesPath": "C:\\Users\\HHST102\\.nuget\\packages\\",
"outputPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\TangLong\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\HHST102\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@ -123,8 +120,8 @@
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj"
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj"
}
}
}
@ -137,9 +134,8 @@
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
"auditMode": "direct"
}
},
"frameworks": {
"net6.0": {
@ -209,7 +205,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403\\RuntimeIdentifierGraph.json"
}
}
}

View File

@ -5,14 +5,13 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\TangLong\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\HHST102\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.1</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\TangLong\.nuget\packages\" />
<SourceRoot Include="C:\Users\HHST102\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" />
@ -20,7 +19,7 @@
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.0\build\net6.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\6.0.0\build\net6.0\Microsoft.EntityFrameworkCore.Design.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\TangLong\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server>
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\TangLong\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.0</PkgMicrosoft_EntityFrameworkCore_Tools>
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\HHST102\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server>
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\HHST102\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.0</PkgMicrosoft_EntityFrameworkCore_Tools>
</PropertyGroup>
</Project>

View File

@ -3116,25 +3116,23 @@
]
},
"packageFolders": {
"C:\\Users\\TangLong\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
"C:\\Users\\HHST102\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"projectUniqueName": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"projectName": "YD_XinWei.Api",
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"packagesPath": "C:\\Users\\TangLong\\.nuget\\packages\\",
"outputPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\obj\\",
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"packagesPath": "C:\\Users\\HHST102\\.nuget\\packages\\",
"outputPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\TangLong\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\HHST102\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
@ -3150,8 +3148,8 @@
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {
"C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"projectPath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj"
"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj": {
"projectPath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei.Commons\\YD_XinWei.Commons.csproj"
}
}
}
@ -3164,9 +3162,8 @@
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
"auditMode": "direct"
}
},
"frameworks": {
"net6.0": {
@ -3236,50 +3233,8 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403\\RuntimeIdentifierGraph.json"
}
}
},
"logs": [
{
"code": "NU1903",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"Microsoft.Data.SqlClient\" 2.1.4 具有已知的 高 严重性漏洞,https://github.com/advisories/GHSA-98g6-xh36-x2p7",
"libraryId": "Microsoft.Data.SqlClient",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1903",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"Microsoft.Extensions.Caching.Memory\" 6.0.0 具有已知的 高 严重性漏洞,https://github.com/advisories/GHSA-qj66-m88j-hmgj",
"libraryId": "Microsoft.Extensions.Caching.Memory",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Drawing.Common\" 4.7.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-rxg9-xrhp-64gj",
"libraryId": "System.Drawing.Common",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Text.Encodings.Web\" 4.5.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-ghhp-997w-qr28",
"libraryId": "System.Text.Encodings.Web",
"targetGraphs": [
"net6.0"
]
}
]
}
}

View File

@ -1,118 +1,77 @@
{
"version": 2,
"dgSpecHash": "IEnTXOmv+fA=",
"dgSpecHash": "CJbEgklx6gE=",
"success": true,
"projectFilePath": "C:\\Users\\TangLong\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"projectFilePath": "C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\Server\\YD_XinWei\\YD_XinWei.Api.csproj",
"expectedPackageFiles": [
"C:\\Users\\TangLong\\.nuget\\packages\\aliyun.oss.sdk.netcore\\2.14.1\\aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\autofac\\8.1.0\\autofac.8.1.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\autofac.extensions.dependencyinjection\\10.0.0\\autofac.extensions.dependencyinjection.10.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\automapper\\13.0.0\\automapper.13.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\automapper.collection\\10.0.0\\automapper.collection.10.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\6.0.0\\microsoft.aspnetcore.authentication.jwtbearer.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\6.0.0\\microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\6.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.bcl.timeprovider\\8.0.1\\microsoft.bcl.timeprovider.8.0.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.data.sqlclient\\2.1.4\\microsoft.data.sqlclient.2.1.4.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\2.1.1\\microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore\\6.0.0\\microsoft.entityframeworkcore.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\6.0.0\\microsoft.entityframeworkcore.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\6.0.0\\microsoft.entityframeworkcore.analyzers.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.design\\6.0.0\\microsoft.entityframeworkcore.design.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\6.0.0\\microsoft.entityframeworkcore.relational.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\6.0.0\\microsoft.entityframeworkcore.sqlserver.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\6.0.0\\microsoft.entityframeworkcore.tools.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\6.0.0\\microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.caching.memory\\6.0.0\\microsoft.extensions.caching.memory.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\6.0.0\\microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.1\\microsoft.extensions.dependencyinjection.abstractions.8.0.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.logging\\6.0.0\\microsoft.extensions.logging.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\6.0.0\\microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identity.client\\4.21.1\\microsoft.identity.client.4.21.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.0\\microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.0\\microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.0\\microsoft.identitymodel.logging.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.10.0\\microsoft.identitymodel.protocols.6.10.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.10.0\\microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.0\\microsoft.identitymodel.tokens.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\swashbuckle.aspnetcore\\6.5.0\\swashbuckle.aspnetcore.6.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.5.0\\swashbuckle.aspnetcore.swagger.6.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.5.0\\swashbuckle.aspnetcore.swaggergen.6.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.5.0\\swashbuckle.aspnetcore.swaggerui.6.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.1\\system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.0\\system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.runtime.caching\\4.7.0\\system.runtime.caching.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512",
"C:\\Users\\TangLong\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512"
"C:\\Users\\HHST102\\.nuget\\packages\\aliyun.oss.sdk.netcore\\2.14.1\\aliyun.oss.sdk.netcore.2.14.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\autofac\\8.1.0\\autofac.8.1.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\autofac.extensions.dependencyinjection\\10.0.0\\autofac.extensions.dependencyinjection.10.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\automapper\\13.0.0\\automapper.13.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\automapper.collection\\10.0.0\\automapper.collection.10.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\6.0.0\\microsoft.aspnetcore.authentication.jwtbearer.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\6.0.0\\microsoft.aspnetcore.jsonpatch.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\6.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\8.0.0\\microsoft.bcl.asyncinterfaces.8.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.bcl.timeprovider\\8.0.1\\microsoft.bcl.timeprovider.8.0.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.data.sqlclient\\2.1.4\\microsoft.data.sqlclient.2.1.4.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\2.1.1\\microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore\\6.0.0\\microsoft.entityframeworkcore.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\6.0.0\\microsoft.entityframeworkcore.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\6.0.0\\microsoft.entityframeworkcore.analyzers.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.design\\6.0.0\\microsoft.entityframeworkcore.design.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\6.0.0\\microsoft.entityframeworkcore.relational.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\6.0.0\\microsoft.entityframeworkcore.sqlserver.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\6.0.0\\microsoft.entityframeworkcore.tools.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\6.0.0\\microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.caching.memory\\6.0.0\\microsoft.extensions.caching.memory.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\6.0.0\\microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.1\\microsoft.extensions.dependencyinjection.abstractions.8.0.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.logging\\6.0.0\\microsoft.extensions.logging.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\6.0.0\\microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identity.client\\4.21.1\\microsoft.identity.client.4.21.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.0\\microsoft.identitymodel.abstractions.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.0\\microsoft.identitymodel.jsonwebtokens.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.0\\microsoft.identitymodel.logging.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.10.0\\microsoft.identitymodel.protocols.6.10.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.10.0\\microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.0\\microsoft.identitymodel.tokens.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\swashbuckle.aspnetcore\\6.5.0\\swashbuckle.aspnetcore.6.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.5.0\\swashbuckle.aspnetcore.swagger.6.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.5.0\\swashbuckle.aspnetcore.swaggergen.6.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.5.0\\swashbuckle.aspnetcore.swaggerui.6.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.1\\system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.0\\system.identitymodel.tokens.jwt.8.3.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.runtime.caching\\4.7.0\\system.runtime.caching.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512",
"C:\\Users\\HHST102\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512"
],
"logs": [
{
"code": "NU1903",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"Microsoft.Data.SqlClient\" 2.1.4 具有已知的 高 严重性漏洞,https://github.com/advisories/GHSA-98g6-xh36-x2p7",
"libraryId": "Microsoft.Data.SqlClient",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1903",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"Microsoft.Extensions.Caching.Memory\" 6.0.0 具有已知的 高 严重性漏洞,https://github.com/advisories/GHSA-qj66-m88j-hmgj",
"libraryId": "Microsoft.Extensions.Caching.Memory",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Drawing.Common\" 4.7.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-rxg9-xrhp-64gj",
"libraryId": "System.Drawing.Common",
"targetGraphs": [
"net6.0"
]
},
{
"code": "NU1904",
"level": "Warning",
"warningLevel": 1,
"message": "包 \"System.Text.Encodings.Web\" 4.5.0 具有已知的 严重 严重性漏洞,https://github.com/advisories/GHSA-ghhp-997w-qr28",
"libraryId": "System.Text.Encodings.Web",
"targetGraphs": [
"net6.0"
]
}
]
"logs": []
}