forked from powerfun/udpservice
上传UPD项目文件
This commit is contained in:
commit
fd3e84b18d
67 files changed
+3611
No files matched your search
@@ -0,0 +1 @@
|
||||
bin/Debug/netcoreapp3.1/logs
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="Host" value="http://47.97.84.8:81/"/>
|
||||
<add key="Top" value="100"/>
|
||||
<add key="ShowVirtualUser" value="true"/>
|
||||
<add key="Ip" value="192.168.0.94"/>
|
||||
<add key="Port" value="11000"/>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
@@ -0,0 +1,95 @@
|
||||
using OnlineUserPool.Model;
|
||||
using OnlineUserPool.Unility;
|
||||
|
||||
using Serilog;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Hander
|
||||
{
|
||||
public class MapRecordRankingHander
|
||||
{
|
||||
private static List<MapRecordRanking> mapRecordRankings;
|
||||
private static VirtualUserList virtualUserList;
|
||||
private static bool loading = false;//防止服务端响应慢,多次加载
|
||||
private int top = int.Parse(ConfigHelp.Top);
|
||||
|
||||
public MapRecordRankingHander()
|
||||
{
|
||||
var randomUser = WebService.GetMapRouteRandomUser(new RandomRankingUserRequestVM() { top = top });
|
||||
mapRecordRankings = WebService.GetRecordFileFromServer(randomUser.Select(n => n.RankingId).ToList());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取虚拟人物数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<MsgModel> GetVirtualUserData()
|
||||
{
|
||||
List<MsgModel> msgModels = new List<MsgModel>();
|
||||
if (mapRecordRankings != null && mapRecordRankings.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < mapRecordRankings.Count; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
var item = mapRecordRankings[i];
|
||||
TargetData targetData = item.GetCurrentTargetData();
|
||||
List<string> prop = new List<string>()
|
||||
{
|
||||
Math.Round(targetData._Speed, 2).ToString(),
|
||||
targetData._Power.ToString(),
|
||||
targetData._Cadence.ToString()
|
||||
};
|
||||
msgModels.Add(new MsgModel()
|
||||
{
|
||||
exit = item.End,
|
||||
IsCompleted = item.End,
|
||||
MemberId = item.UserId,
|
||||
Point = new double[] { targetData._Lat, targetData._Lon },
|
||||
Prop = string.Join(',', prop),
|
||||
RouteId = item.RouteId,
|
||||
EndDistance = targetData._Distance,
|
||||
ShowVirtual = true,
|
||||
CommandType = 1,
|
||||
IsVirtual = true,
|
||||
Speed = targetData._Speed
|
||||
});
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error("加载虚拟人物错误:" + e.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
return msgModels;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除已经骑行完的人,添加新的人物进去
|
||||
/// </summary>
|
||||
public void RemoveEndAndAddNewVirtualUser()
|
||||
{
|
||||
if (mapRecordRankings != null && mapRecordRankings.Count > 0 && !loading)
|
||||
{
|
||||
loading = true;
|
||||
var end = mapRecordRankings.FindAll(n => n.End);
|
||||
if (end.Count > 0)
|
||||
{
|
||||
mapRecordRankings.RemoveAll(n => n.End);
|
||||
var randomUser = WebService.GetMapRouteRandomUser(new RandomRankingUserRequestVM()
|
||||
{
|
||||
top = int.Parse(ConfigHelp.Top) - end.Count,
|
||||
ids = mapRecordRankings.Select(n => n.UserId.ToString()).ToList()
|
||||
});
|
||||
var addRankings = WebService.GetRecordFileFromServer(randomUser.Select(n => n.RankingId).ToList());
|
||||
mapRecordRankings.AddRange(addRankings);
|
||||
}
|
||||
loading = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class HostModel
|
||||
{
|
||||
public IPEndPoint IPEndPoint { get; set; }
|
||||
|
||||
public DateTime LastActiveTime { get; set; }
|
||||
/// <summary>
|
||||
/// 地图编号
|
||||
/// </summary>
|
||||
public int RouteId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户Id
|
||||
/// </summary>
|
||||
public int MemberId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户端过期
|
||||
/// </summary>
|
||||
public bool Expire
|
||||
{
|
||||
get
|
||||
{
|
||||
return DateTime.Now.Subtract(LastActiveTime).TotalSeconds > 6000;
|
||||
}
|
||||
}
|
||||
|
||||
public bool Equals(IPEndPoint obj)
|
||||
{
|
||||
//return base.Equals(obj);
|
||||
|
||||
return obj.Address.ToString() == IPEndPoint.Address.ToString() && obj.Port == IPEndPoint.Port;
|
||||
}
|
||||
/// <summary>
|
||||
/// 需要展示的路书Id
|
||||
/// </summary>
|
||||
public List<int> ShowRouteId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否展示在线的人
|
||||
/// </summary>
|
||||
public bool ShowVirtual { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class JsonResult
|
||||
{
|
||||
public bool result { get; set; }
|
||||
public dynamic data { get; set; }
|
||||
public string errMsg { get; set; }
|
||||
}
|
||||
|
||||
public class JsonResult<T>
|
||||
{
|
||||
public bool result { get; set; }
|
||||
public T data { get; set; }
|
||||
public string errMsg { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class MapRecordRanking
|
||||
{
|
||||
public int UserId { get; set; }
|
||||
|
||||
public string RecordFileName { get; set; }
|
||||
|
||||
public int RouteId { get; set; }
|
||||
|
||||
public int Ticks { get; set; }
|
||||
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public string[] record { get; set; }
|
||||
|
||||
public string WxHeadImg { get; set; }
|
||||
|
||||
public string NickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总点位数据
|
||||
/// </summary>
|
||||
public int Count
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.record.Length;
|
||||
}
|
||||
}
|
||||
|
||||
private int _BeginIndex;
|
||||
|
||||
/// <summary>
|
||||
/// 当前位置
|
||||
/// </summary>
|
||||
public int CurrentIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_BeginIndex != 0)
|
||||
{
|
||||
_BeginIndex++;
|
||||
if (End)
|
||||
{
|
||||
return this.Count - 1;
|
||||
}
|
||||
return this._BeginIndex;
|
||||
}
|
||||
else
|
||||
{
|
||||
_BeginIndex = 1;
|
||||
return _BeginIndex;
|
||||
Random random = new Random();
|
||||
_BeginIndex = random.Next(0, this.Count);
|
||||
return _BeginIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 是否已到头
|
||||
/// </summary>
|
||||
public bool End
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BeginIndex >= this.Count;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取当前点位的数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public TargetData GetCurrentTargetData()
|
||||
{
|
||||
return TargetData.Read(this.record[CurrentIndex]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class MapRouteAndUserQueryVM
|
||||
{
|
||||
public long RowNumber { get; set; }
|
||||
|
||||
public int RouteId { get; set; }
|
||||
|
||||
public int UserId { get; set; }
|
||||
|
||||
public string DirPath { get; set; }
|
||||
|
||||
public string NickName { get; set; }
|
||||
|
||||
public string WxHeadImg { get; set; }
|
||||
|
||||
public int? FTP { get; set; }
|
||||
|
||||
public string RankingId { get; set; }
|
||||
|
||||
public string ContinueMark { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class MsgModel
|
||||
{
|
||||
public int RouteId { get; set; }
|
||||
public int MemberId { get; set; }
|
||||
public double[] Point { get; set; }
|
||||
public bool IsCompleted { get; set; }
|
||||
|
||||
public bool exit = false;
|
||||
public double Speed { get; set; }
|
||||
/// <summary>
|
||||
/// 需要展示的属性
|
||||
/// </summary>
|
||||
public string Prop { get; set; }
|
||||
|
||||
public double EndDistance { get; set; }
|
||||
/// <summary>
|
||||
/// 是否展示在线的人
|
||||
/// </summary>
|
||||
public bool ShowVirtual { get; set; }
|
||||
/// <summary>
|
||||
/// 命令类型,0命令,1消息
|
||||
/// </summary>
|
||||
public byte CommandType { get; set; }
|
||||
|
||||
public bool IsVirtual { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class RandomRankingUserRequestVM
|
||||
{
|
||||
public int top { get; set; }
|
||||
|
||||
public List<string> ids { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class TargetData
|
||||
{
|
||||
public double _Power = 0d;
|
||||
public double _Speed = 0;
|
||||
public double _Distance = 0D;
|
||||
public double? _Cadence = 0;
|
||||
public int? _HeartRate = 0;
|
||||
public int Ticks = 0;
|
||||
/// <summary>
|
||||
/// 纬度
|
||||
/// </summary>
|
||||
public double _Lat = 0d;
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
public double _Lon = 0d;
|
||||
public double _Bearing = 0d;
|
||||
|
||||
public TargetData Clone()
|
||||
{
|
||||
return (TargetData)MemberwiseClone();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format($"Ticks:{Ticks} Power:{_Power} Speed:{_Speed} Distance:{_Distance} Cadence:{_Cadence} HeartRate:{_HeartRate} Lat:{_Lat} Lon:{_Lon}");
|
||||
}
|
||||
|
||||
public string Write()
|
||||
{
|
||||
return string.Format($"{Ticks},{_Power},{_Speed},{_Distance},{_Cadence},{_HeartRate},{_Lat},{_Lon},{_Bearing}");
|
||||
}
|
||||
|
||||
public static TargetData Read(string data)
|
||||
{
|
||||
string[] split = data.Split(',');
|
||||
var target = new TargetData();
|
||||
target.Ticks = int.Parse(split[0]);
|
||||
target._Power = double.Parse(split[1]);
|
||||
target._Speed = double.Parse(split[2]);
|
||||
target._Distance = double.Parse(split[3]);
|
||||
target._Cadence = double.Parse(split[4]);
|
||||
target._HeartRate = int.Parse(split[5]);
|
||||
if (split.Length > 6)
|
||||
{
|
||||
target._Lat = double.Parse(split[6]);
|
||||
target._Lon = double.Parse(split[7]);
|
||||
target._Bearing = double.Parse(split[8]);
|
||||
}
|
||||
return target;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Model
|
||||
{
|
||||
public class VirtualUserList
|
||||
{
|
||||
public List<string> NickNames { get; set; }
|
||||
|
||||
public List<string> HeadImages { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||
<PackageReference Include="Serilog" Version="2.9.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
|
||||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
using OnlineUserPool.Hander;
|
||||
using OnlineUserPool.Model;
|
||||
using OnlineUserPool.Unility;
|
||||
|
||||
using Serilog;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OnlineUserPool
|
||||
{
|
||||
class Program
|
||||
{
|
||||
private static IPEndPoint serverIpEndPoint;
|
||||
private static UdpClient udpServer;
|
||||
private static List<HostModel> clients = new List<HostModel>();
|
||||
private static List<MsgModel> receiveMes = new List<MsgModel>();
|
||||
private static object locker = new object();
|
||||
public static System.Timers.Timer timer;
|
||||
private static MapRecordRankingHander mapRecordRankingHander;
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(DateTime.Now.ToShortDateString());
|
||||
Console.WriteLine("加载日志组件");
|
||||
LogHelper.Init();
|
||||
Log.Information("日志组件加载完成");
|
||||
Log.Information("加载虚拟人物");
|
||||
mapRecordRankingHander = new MapRecordRankingHander();
|
||||
Log.Information("虚拟人物加载完成");
|
||||
Log.Information($"初始化连接,当前地址:{ConfigHelp.Ip}:{ConfigHelp.Port}");
|
||||
serverIpEndPoint = new IPEndPoint(IPAddress.Parse(ConfigHelp.Ip), ConfigHelp.Port);
|
||||
RunServer();
|
||||
Log.Information("服务启动成功");
|
||||
timer = new System.Timers.Timer(1000);
|
||||
timer.Elapsed += Timer_Elapsed;
|
||||
timer.AutoReset = true;
|
||||
timer.Start();
|
||||
Log.Information("等待连接");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
private static void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
|
||||
{
|
||||
NotifyClient();
|
||||
}
|
||||
|
||||
private static void RunServer()
|
||||
{
|
||||
udpServer = new UdpClient(serverIpEndPoint.Port);
|
||||
uint IOC_IN = 0x80000000;
|
||||
uint IOC_VENDOR = 0x18000000;
|
||||
uint SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12;
|
||||
udpServer.Client.IOControl((int)SIO_UDP_CONNRESET, new byte[] { Convert.ToByte(false) }, null);
|
||||
var remoteIpEndPoint = new IPEndPoint(IPAddress.Any, 0);
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] receiveBytes = udpServer.Receive(ref remoteIpEndPoint);
|
||||
var returnData = Encoding.ASCII.GetString(receiveBytes);
|
||||
var msg = Newtonsoft.Json.JsonConvert.DeserializeObject<MsgModel>(returnData);
|
||||
lock (locker)
|
||||
{
|
||||
receiveMes.Add(msg);
|
||||
Console.WriteLine($"本次接收:{ remoteIpEndPoint.Address.ToString() }:{ remoteIpEndPoint.Port }收到消息:{ returnData }");
|
||||
if (!clients.Any(c => c.Equals(remoteIpEndPoint)))
|
||||
{
|
||||
clients.Add(new HostModel
|
||||
{
|
||||
IPEndPoint = remoteIpEndPoint,
|
||||
LastActiveTime = DateTime.Now,
|
||||
RouteId = msg.RouteId,
|
||||
MemberId = msg.MemberId,
|
||||
ShowVirtual = msg.ShowVirtual
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
if (msg.CommandType == 0)
|
||||
{
|
||||
var client = clients.FirstOrDefault(n => n.Equals(remoteIpEndPoint));
|
||||
client.LastActiveTime = DateTime.Now;
|
||||
client.ShowVirtual = msg.ShowVirtual;
|
||||
}
|
||||
}
|
||||
//if (timer.AutoReset == false)
|
||||
//{
|
||||
// timer.AutoReset = true;
|
||||
//}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error("RunServer:" + e.Message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private static void NotifyClient()
|
||||
{
|
||||
try
|
||||
{
|
||||
lock (locker)
|
||||
{
|
||||
//加入虚拟人物消息
|
||||
var virtualData = mapRecordRankingHander.GetVirtualUserData();
|
||||
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "-当前在线人数:" + clients.Count + "-当前虚拟人数:" + virtualData.Count);
|
||||
Console.WriteLine($"在线人:{Newtonsoft.Json.JsonConvert.SerializeObject(receiveMes)}\r\n虚拟人:{Newtonsoft.Json.JsonConvert.SerializeObject(virtualData)}");
|
||||
receiveMes.AddRange(virtualData);
|
||||
SendMessage(clients, receiveMes);
|
||||
//移除下线的客户端
|
||||
for (int i = 0; i < receiveMes.Count; i++)
|
||||
{
|
||||
if (receiveMes[i].exit)
|
||||
{
|
||||
var index = clients.FindIndex(n => n.MemberId == receiveMes[i].MemberId);
|
||||
if (index > -1)
|
||||
{
|
||||
clients.RemoveAt(index);
|
||||
}
|
||||
}
|
||||
}
|
||||
receiveMes.Clear();//删除已经发送的数据
|
||||
clients.RemoveAll(i => i.Expire);//移除5钟内连接不上的客户端
|
||||
}
|
||||
//更新虚拟人物信息
|
||||
Task.Run(() => { mapRecordRankingHander.RemoveEndAndAddNewVirtualUser(); });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error("NotifyClient:" + e.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private static void SendMessage(List<HostModel> clients, List<MsgModel> msgModels)
|
||||
{
|
||||
string jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(msgModels);
|
||||
var data = Encoding.ASCII.GetBytes(jsonString);
|
||||
foreach (var item in clients)
|
||||
{
|
||||
try
|
||||
{
|
||||
udpServer.Send(data, data.Length, item.IPEndPoint);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error(item.IPEndPoint.ToString() + ":" + e.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Unility
|
||||
{
|
||||
class ConfigHelp
|
||||
{
|
||||
public static string Host { get; set; }
|
||||
public static string Top { get; set; }
|
||||
public static bool ShowVirtualUser { get; set; }
|
||||
|
||||
public static string Ip { get; set; }
|
||||
|
||||
public static int Port { get; set; }
|
||||
|
||||
|
||||
static ConfigHelp()
|
||||
{
|
||||
Host = System.Configuration.ConfigurationManager.AppSettings["Host"];
|
||||
Top = System.Configuration.ConfigurationManager.AppSettings["Top"];
|
||||
ShowVirtualUser = bool.Parse(System.Configuration.ConfigurationManager.AppSettings["ShowVirtualUser"]);
|
||||
Ip = System.Configuration.ConfigurationManager.AppSettings["Ip"];
|
||||
Port = int.Parse(System.Configuration.ConfigurationManager.AppSettings["Port"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using Serilog;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OnlineUserPool.Unility
|
||||
{
|
||||
public class LogHelper
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
string path = AppDomain.CurrentDomain.BaseDirectory+ "\\logs\\log.txt";
|
||||
Console.WriteLine(path);
|
||||
Log.Logger = new LoggerConfiguration().MinimumLevel.Debug().WriteTo.Console().WriteTo.File(path, rollingInterval: RollingInterval.Day).CreateLogger();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
using OnlineUserPool.Model;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OnlineUserPool.Unility
|
||||
{
|
||||
public class BaseApi
|
||||
{
|
||||
internal static System.Net.Http.HttpClient httpClient;
|
||||
static BaseApi()
|
||||
{
|
||||
httpClient = new System.Net.Http.HttpClient();
|
||||
}
|
||||
|
||||
protected static async Task<T> PostAsync<T>(string url, object data)
|
||||
{
|
||||
StringContent stringContent;
|
||||
if (data != null)
|
||||
{
|
||||
stringContent = new StringContent(JsonConvert.SerializeObject(data), Encoding.UTF8, "application/json");
|
||||
}
|
||||
else
|
||||
{
|
||||
stringContent = new StringContent("", Encoding.UTF8);
|
||||
}
|
||||
var response = await httpClient.PostAsync(ConfigHelp.Host + url, stringContent).ConfigureAwait(false);
|
||||
var result = await response.Content.ReadAsStringAsync();
|
||||
return JsonConvert.DeserializeObject<T>(result);
|
||||
}
|
||||
|
||||
protected static async Task<T> GetAsync<T>(string url)
|
||||
{
|
||||
var response = await httpClient.GetAsync(ConfigHelp.Host + url, HttpCompletionOption.ResponseContentRead).ConfigureAwait(false);
|
||||
var result = await response.Content.ReadAsStringAsync();
|
||||
return JsonConvert.DeserializeObject<T>(result);
|
||||
}
|
||||
}
|
||||
public class WebService : BaseApi
|
||||
{
|
||||
/// <summary>
|
||||
/// 从服务端获取记录信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<MapRecordRanking> GetRecordFileFromServer(List<string> id)
|
||||
{
|
||||
return PostAsync<JsonResult<List<MapRecordRanking>>>("Map/GetCyclingRecordsById", id).ConfigureAwait(false).GetAwaiter().GetResult().data;
|
||||
}
|
||||
|
||||
public static List<MapRouteAndUserQueryVM> GetMapRouteRandomUser(RandomRankingUserRequestVM requestVM)
|
||||
{
|
||||
return PostAsync<JsonResult<List<MapRouteAndUserQueryVM>>>($"Map/GetRandomRankingUserRecord", requestVM).ConfigureAwait(false).GetAwaiter().GetResult().data;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,568 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v3.1",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v3.1": {
|
||||
"OnlineUserPool/1.0.0": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "12.0.3",
|
||||
"Serilog": "2.9.0",
|
||||
"Serilog.Sinks.Console": "3.1.1",
|
||||
"Serilog.Sinks.File": "4.1.0",
|
||||
"System.Configuration.ConfigurationManager": "4.7.0"
|
||||
},
|
||||
"runtime": {
|
||||
"OnlineUserPool.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/3.1.0": {},
|
||||
"Microsoft.NETCore.Targets/1.1.0": {},
|
||||
"Microsoft.Win32.SystemEvents/4.7.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/12.0.3": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "12.0.0.0",
|
||||
"fileVersion": "12.0.3.23909"
|
||||
}
|
||||
}
|
||||
},
|
||||
"runtime.native.System/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0"
|
||||
}
|
||||
},
|
||||
"Serilog/2.9.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.9.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.Console/3.1.1": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.9.0",
|
||||
"System.Console": "4.3.0",
|
||||
"System.Runtime.InteropServices": "4.3.0",
|
||||
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp1.1/Serilog.Sinks.Console.dll": {
|
||||
"assemblyVersion": "3.1.1.0",
|
||||
"fileVersion": "3.1.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.File/4.1.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.9.0",
|
||||
"System.IO.FileSystem": "4.0.1",
|
||||
"System.Text.Encoding.Extensions": "4.0.11",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Sinks.File.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "4.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Configuration.ConfigurationManager/4.7.0": {
|
||||
"dependencies": {
|
||||
"System.Security.Cryptography.ProtectedData": "4.7.0",
|
||||
"System.Security.Permissions": "4.7.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": {
|
||||
"assemblyVersion": "4.0.3.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Console/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.IO": "4.3.0",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Text.Encoding": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Drawing.Common/4.7.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.Win32.SystemEvents": "4.7.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Drawing.Common.dll": {
|
||||
"assemblyVersion": "4.0.0.1",
|
||||
"fileVersion": "4.6.26919.2"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": {
|
||||
"rid": "unix",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
},
|
||||
"runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Globalization/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.IO/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Text.Encoding": "4.3.0",
|
||||
"System.Threading.Tasks": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.IO.FileSystem/4.0.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.IO": "4.3.0",
|
||||
"System.IO.FileSystem.Primitives": "4.0.1",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Runtime.Handles": "4.3.0",
|
||||
"System.Text.Encoding": "4.3.0",
|
||||
"System.Threading.Tasks": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.IO.FileSystem.Primitives/4.0.1": {
|
||||
"dependencies": {
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Reflection/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.IO": "4.3.0",
|
||||
"System.Reflection.Primitives": "4.3.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Reflection.Extensions/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Reflection": "4.3.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Reflection.Primitives/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Resources.ResourceManager/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Globalization": "4.3.0",
|
||||
"System.Reflection": "4.3.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Runtime/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0"
|
||||
}
|
||||
},
|
||||
"System.Runtime.Handles/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Runtime.InteropServices/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Reflection": "4.3.0",
|
||||
"System.Reflection.Primitives": "4.3.0",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Runtime.Handles": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Runtime.InteropServices.RuntimeInformation/4.3.0": {
|
||||
"dependencies": {
|
||||
"System.Reflection": "4.3.0",
|
||||
"System.Reflection.Extensions": "4.3.0",
|
||||
"System.Resources.ResourceManager": "4.3.0",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Runtime.InteropServices": "4.3.0",
|
||||
"System.Threading": "4.3.0",
|
||||
"runtime.native.System": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Security.AccessControl/4.7.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"System.Security.Principal.Windows": "4.7.0"
|
||||
}
|
||||
},
|
||||
"System.Security.Cryptography.ProtectedData/4.7.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": {
|
||||
"assemblyVersion": "4.0.5.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "4.0.5.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Security.Permissions/4.7.0": {
|
||||
"dependencies": {
|
||||
"System.Security.AccessControl": "4.7.0",
|
||||
"System.Windows.Extensions": "4.7.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.0/System.Security.Permissions.dll": {
|
||||
"assemblyVersion": "4.0.3.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Security.Principal.Windows/4.7.0": {},
|
||||
"System.Text.Encoding/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Text.Encoding.Extensions/4.0.11": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Text.Encoding": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Threading/4.3.0": {
|
||||
"dependencies": {
|
||||
"System.Runtime": "4.3.0",
|
||||
"System.Threading.Tasks": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Threading.Tasks/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Threading.Timer/4.0.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
"Microsoft.NETCore.Targets": "1.1.0",
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Windows.Extensions/4.7.0": {
|
||||
"dependencies": {
|
||||
"System.Drawing.Common": "4.7.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp3.0/System.Windows.Extensions.dll": {
|
||||
"assemblyVersion": "4.0.1.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "4.0.1.0",
|
||||
"fileVersion": "4.700.19.56404"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"OnlineUserPool/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/3.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
|
||||
"path": "microsoft.netcore.platforms/3.1.0",
|
||||
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.NETCore.Targets/1.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==",
|
||||
"path": "microsoft.netcore.targets/1.1.0",
|
||||
"hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==",
|
||||
"path": "microsoft.win32.systemevents/4.7.0",
|
||||
"hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/12.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
|
||||
"path": "newtonsoft.json/12.0.3",
|
||||
"hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
|
||||
},
|
||||
"runtime.native.System/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==",
|
||||
"path": "runtime.native.system/4.3.0",
|
||||
"hashPath": "runtime.native.system.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog/2.9.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-QzcrD33A3+CsVvwi1I5CSei67ikQnkGrw7SscgL+vZTghaC2aNYg8fiUcedXHzKJFNjgje9rBjzwYGQTKEaXaA==",
|
||||
"path": "serilog/2.9.0",
|
||||
"hashPath": "serilog.2.9.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.Console/3.1.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-56mI5AqvyF/i/c2451nvV71kq370XOCE4Uu5qiaJ295sOhMb9q3BWwG7mWLOVSnmpWiq0SBT3SXfgRXGNP6vzA==",
|
||||
"path": "serilog.sinks.console/3.1.1",
|
||||
"hashPath": "serilog.sinks.console.3.1.1.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.File/4.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-U0b34w+ZikbqWEZ3ui7BdzxY/19zwrdhLtI3o6tfmLdD3oXxg7n2TZJjwCCTlKPgRuYic9CBWfrZevbb70mTaw==",
|
||||
"path": "serilog.sinks.file/4.1.0",
|
||||
"hashPath": "serilog.sinks.file.4.1.0.nupkg.sha512"
|
||||
},
|
||||
"System.Configuration.ConfigurationManager/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==",
|
||||
"path": "system.configuration.configurationmanager/4.7.0",
|
||||
"hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Console/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==",
|
||||
"path": "system.console/4.3.0",
|
||||
"hashPath": "system.console.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Drawing.Common/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==",
|
||||
"path": "system.drawing.common/4.7.0",
|
||||
"hashPath": "system.drawing.common.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Globalization/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==",
|
||||
"path": "system.globalization/4.3.0",
|
||||
"hashPath": "system.globalization.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.IO/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==",
|
||||
"path": "system.io/4.3.0",
|
||||
"hashPath": "system.io.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.IO.FileSystem/4.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-IBErlVq5jOggAD69bg1t0pJcHaDbJbWNUZTPI96fkYWzwYbN6D9wRHMULLDd9dHsl7C2YsxXL31LMfPI1SWt8w==",
|
||||
"path": "system.io.filesystem/4.0.1",
|
||||
"hashPath": "system.io.filesystem.4.0.1.nupkg.sha512"
|
||||
},
|
||||
"System.IO.FileSystem.Primitives/4.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kWkKD203JJKxJeE74p8aF8y4Qc9r9WQx4C0cHzHPrY3fv/L/IhWnyCHaFJ3H1QPOH6A93whlQ2vG5nHlBDvzWQ==",
|
||||
"path": "system.io.filesystem.primitives/4.0.1",
|
||||
"hashPath": "system.io.filesystem.primitives.4.0.1.nupkg.sha512"
|
||||
},
|
||||
"System.Reflection/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==",
|
||||
"path": "system.reflection/4.3.0",
|
||||
"hashPath": "system.reflection.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Reflection.Extensions/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==",
|
||||
"path": "system.reflection.extensions/4.3.0",
|
||||
"hashPath": "system.reflection.extensions.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Reflection.Primitives/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==",
|
||||
"path": "system.reflection.primitives/4.3.0",
|
||||
"hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Resources.ResourceManager/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==",
|
||||
"path": "system.resources.resourcemanager/4.3.0",
|
||||
"hashPath": "system.resources.resourcemanager.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==",
|
||||
"path": "system.runtime/4.3.0",
|
||||
"hashPath": "system.runtime.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.Handles/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==",
|
||||
"path": "system.runtime.handles/4.3.0",
|
||||
"hashPath": "system.runtime.handles.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.InteropServices/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==",
|
||||
"path": "system.runtime.interopservices/4.3.0",
|
||||
"hashPath": "system.runtime.interopservices.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.InteropServices.RuntimeInformation/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==",
|
||||
"path": "system.runtime.interopservices.runtimeinformation/4.3.0",
|
||||
"hashPath": "system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Security.AccessControl/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
|
||||
"path": "system.security.accesscontrol/4.7.0",
|
||||
"hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Security.Cryptography.ProtectedData/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==",
|
||||
"path": "system.security.cryptography.protecteddata/4.7.0",
|
||||
"hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Security.Permissions/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==",
|
||||
"path": "system.security.permissions/4.7.0",
|
||||
"hashPath": "system.security.permissions.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Security.Principal.Windows/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
|
||||
"path": "system.security.principal.windows/4.7.0",
|
||||
"hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"System.Text.Encoding/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==",
|
||||
"path": "system.text.encoding/4.3.0",
|
||||
"hashPath": "system.text.encoding.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Text.Encoding.Extensions/4.0.11": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-jtbiTDtvfLYgXn8PTfWI+SiBs51rrmO4AAckx4KR6vFK9Wzf6tI8kcRdsYQNwriUeQ1+CtQbM1W4cMbLXnj/OQ==",
|
||||
"path": "system.text.encoding.extensions/4.0.11",
|
||||
"hashPath": "system.text.encoding.extensions.4.0.11.nupkg.sha512"
|
||||
},
|
||||
"System.Threading/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==",
|
||||
"path": "system.threading/4.3.0",
|
||||
"hashPath": "system.threading.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Threading.Tasks/4.3.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==",
|
||||
"path": "system.threading.tasks/4.3.0",
|
||||
"hashPath": "system.threading.tasks.4.3.0.nupkg.sha512"
|
||||
},
|
||||
"System.Threading.Timer/4.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-saGfUV8uqVW6LeURiqxcGhZ24PzuRNaUBtbhVeuUAvky1naH395A/1nY0P2bWvrw/BreRtIB/EzTDkGBpqCwEw==",
|
||||
"path": "system.threading.timer/4.0.1",
|
||||
"hashPath": "system.threading.timer.4.0.1.nupkg.sha512"
|
||||
},
|
||||
"System.Windows.Extensions/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==",
|
||||
"path": "system.windows.extensions/4.7.0",
|
||||
"hashPath": "system.windows.extensions.4.7.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="Host" value="http://47.97.84.8:81/"/>
|
||||
<add key="Top" value="100"/>
|
||||
<add key="ShowVirtualUser" value="true"/>
|
||||
<add key="Ip" value="192.168.0.94"/>
|
||||
<add key="Port" value="11000"/>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Aries\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Aries\\.nuget\\packages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "netcoreapp3.1",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "3.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.0", FrameworkDisplayName = "")]
|
||||
@@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
7d4e7e5da665fffcfdff31f28fde61cc376abe37
|
||||
Binary file not shown.
Whitespace-only changes.
@@ -0,0 +1 @@
|
||||
451f79064f8640077cd9eeb7407b205151813964
|
||||
@@ -0,0 +1,15 @@
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.exe
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.deps.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.runtimeconfig.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.runtimeconfig.dev.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\OnlineUserPool.pdb
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.0\Newtonsoft.Json.dll
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.csprojAssemblyReference.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.AssemblyInfoInputs.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.AssemblyInfo.cs
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.csproj.CoreCompileInputs.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.csproj.CopyComplete
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.dll
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.pdb
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.0\OnlineUserPool.genruntimeconfig.cache
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
328f4b4fb17a823c610727a3f51bc5ac00ef805d
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
|
||||
@@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("OnlineUserPool")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
7d4e7e5da665fffcfdff31f28fde61cc376abe37
|
||||
Binary file not shown.
Whitespace-only changes.
@@ -0,0 +1 @@
|
||||
fb2308a5e45c7979dae039b770fb1a38ad3c328c
|
||||
@@ -0,0 +1,30 @@
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.exe
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.dll.config
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.deps.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.runtimeconfig.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.runtimeconfig.dev.json
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\OnlineUserPool.pdb
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\Microsoft.Win32.SystemEvents.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\Serilog.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\Serilog.Sinks.Console.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\Serilog.Sinks.File.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\System.Configuration.ConfigurationManager.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\System.Drawing.Common.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\System.Security.Cryptography.ProtectedData.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\System.Security.Permissions.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\System.Windows.Extensions.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
|
||||
F:\JuZeCompany\OnlineUserPool\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.AssemblyInfoInputs.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.AssemblyInfo.cs
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.csproj.CoreCompileInputs.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.csproj.CopyComplete
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.dll
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.pdb
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.genruntimeconfig.cache
|
||||
F:\JuZeCompany\OnlineUserPool\obj\Debug\netcoreapp3.1\OnlineUserPool.csprojAssemblyReference.cache
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
86c8e15dd33445635927cfaf398408205fd11473
|
||||
Binary file not shown.
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\JuZeCompany\\OnlineUserPool\\OnlineUserPool.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\JuZeCompany\\OnlineUserPool\\OnlineUserPool.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\JuZeCompany\\OnlineUserPool\\OnlineUserPool.csproj",
|
||||
"projectName": "OnlineUserPool",
|
||||
"projectPath": "F:\\JuZeCompany\\OnlineUserPool\\OnlineUserPool.csproj",
|
||||
"packagesPath": "C:\\Users\\Aries\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\JuZeCompany\\OnlineUserPool\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Aries\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": {
|
||||
"target": "Package",
|
||||
"version": "[12.0.3, )"
|
||||
},
|
||||
"Serilog": {
|
||||
"target": "Package",
|
||||
"version": "[2.9.0, )"
|
||||
},
|
||||
"Serilog.Sinks.Console": {
|
||||
"target": "Package",
|
||||
"version": "[3.1.1, )"
|
||||
},
|
||||
"Serilog.Sinks.File": {
|
||||
"target": "Package",
|
||||
"version": "[4.1.0, )"
|
||||
},
|
||||
"System.Configuration.ConfigurationManager": {
|
||||
"target": "Package",
|
||||
"version": "[4.7.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.302\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<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\Aries\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "Za6oYNoC5QS8DYnQ5/8qiHdWjwUmuvrbLV67Yhv6NXuG9w20+8IipDXvsiv9JkD7BtF4JBlJWMLMQej0AgKv6Q==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\JuZeCompany\\OnlineUserPool\\OnlineUserPool.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\serilog\\2.9.0\\serilog.2.9.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\serilog.sinks.console\\3.1.1\\serilog.sinks.console.3.1.1.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\serilog.sinks.file\\4.1.0\\serilog.sinks.file.4.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.io.filesystem\\4.0.1\\system.io.filesystem.4.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.io.filesystem.primitives\\4.0.1\\system.io.filesystem.primitives.4.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.text.encoding.extensions\\4.0.11\\system.text.encoding.extensions.4.0.11.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.threading.timer\\4.0.1\\system.threading.timer.4.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Aries\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in new issue
Block a user