diff --git a/WebApplication1/Controllers/TwentySystemController.cs b/WebApplication1/Controllers/TwentySystemController.cs new file mode 100644 index 0000000..a16bddb --- /dev/null +++ b/WebApplication1/Controllers/TwentySystemController.cs @@ -0,0 +1,198 @@ +using Microsoft.AspNetCore.Mvc; +using System.Net.Http; +using System.Runtime; +using System.Runtime.Serialization; +using test; + +namespace WebApplication1.Controllers +{ + [ApiController] + [Route("[controller]/[action]")] + public class TwentySystemController : ControllerBase + { + private readonly HttpClient httpClient; + private string ip, port; + + public TwentySystemController(IHttpClientFactory httpClientFactory, IConfiguration configuration) + { + ip = configuration.GetSection("Configs:SystemIp").Value; + port = configuration.GetSection("Configs:Port").Value; + httpClient = httpClientFactory.CreateClient(); + httpClient.BaseAddress = new Uri($"http://{ip}:{port}"); + httpClient.DefaultRequestHeaders.Add("Accept", "application/json"); + httpClient.DefaultRequestHeaders.Add("User-Agent", "HttpClientFactory-Sample"); + httpClient.DefaultRequestHeaders.ConnectionClose = true; + } + [HttpGet] + public async Task> GetJZXX(string dwbm, string bmsah) + { + try + { + MDossier dossier = new MDossier(dwbm, $"{ip}:{port}"); + var data = await dossier.GetJZXX(dwbm, bmsah); + return new Result() + { + IsSucceed = true, + Message = "操作成功", + result = data + }; + } + catch (Exception ex) + { + return new Result() + { + IsSucceed = false, + Message = "操作失败" + ex.Message + }; + } + } + + + + [HttpGet] + public async Task>> GetCaseInfo(string? casename, string? bmsah, string? dwbm, DateTime? starttime, DateTime? endtime, int page, int size) + { + await Task.Delay(10); + var param = new + { + ksslrq = starttime?.ToString("yyyy-MM-dd") ?? DateTime.Now.AddDays(-100).ToString("yyyy-MM-dd"), + jsslrq = endtime?.ToString("yyyy-MM-dd") ?? DateTime.Now.ToString("yyyy-MM-dd"), + bmsah = bmsah, + zzzt = "", + ajlbbms = new string[] { "2801", "2802", "2803", "1602", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2009", "2010", "2011", "2012", "2013", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026", "2027", "2029", "2031", "2032", "2033", "2034", "2035", "2036", "2037", "2039", "2040", "2041", "2042", "2043", "2044", "2048", "2049", "2050", "2051", "2052", "2053", "2054", "2055", "2056", "2058", "2059", "2062", "2077", "2078", "1603", "1604", "1608", "1611", "1614", "1619", "1621", "1622", "1625", "1626", "1630", "1631", "1632", "1633", "1634", "1635", "1636", "1637", "1638", "1650", "1801", "1802", "1803", "1805", "1806", "1807", "1808", "1809", "1810", "1812", "1813", "1901", "1902", "1903", "1904", "1905", "1906", "1907", "1908", "1909", "1910", "1911", "1912", "1913", "1914", "1915", "1916", "1917", "1918", "1919", "0701", "0702", "0703", "0704", "0705", "0706", "0707", "0708", "0709", "0710", "0711", "0712", "0713", "0714", "0715", "0716", "0717", "0718", "0719", "0720", "0721", "0722", "0723", "0724", "0725", "0726", "0727", "1701", "1702", "1703", "1704", "1705", "1706", "1708", "1709", "1710", "1711", "1712", "1713", " 1714", "1715", "1716", "1718", "1719", "1720", "1722", "1723", "1724", "1725", "1726", "1727", "1728", "1729", "1730", "1731", "1732", "1733", "1734", "1736", "1737", "1738", "1740", "1741", "1742", "1743", "1744", "1745", "1747", "1748", "1749", "1750", "1752", "1753", "1754", "1756", "1757", "1758", "1759", "1760", "1761", "1762", "1768", "1769", "1770", "1771", "1772", "1773", "1774", "1775", "1778", "1779", "1780", "1781", "1782", "1784", "1785", "1786", "1787", "1788", "1789", "1790", "1791", "1792", "2701", "2702", "2703", "2704", "2705", "2706", "2707", "2708", "2710", "2711", "2712", "2713", "2714", "2715", "2716", "2717", "2718", "2719", "2721", "2722", "2723", "2724", "2726", "2727", "2728", "2729", "2730", "2731", "2732", "2733", "2734", "2735", "2736", "2737", "0801", "0802", "0803", "0804", "0805", "0806", "0808", "0809", "0810", "0811", "0812", "0813", "0814", "0815", "0816", "0817", "0818", "0819", "0820", "0821", "0822", "0823", "0824", "0825", "0826", "0827", "0828", "1401", "1402", "1403", "1404", "1405", "1406", "1408", "1409", "1410", "1411", "1412", "1413", "1414", "1415", "1101", "1102", "1103", "1104", "1105", "1107", "1108", "1109", "1111", "1112", "1302", "1303", "1304", "1305", "2202", "2203", "2204", "2205", "2207", "2209", "2301", "2302", "2303", "2401", "2402", "2101", "2102", "2103", "2104", "2105", "2106", "2107", "2108", "2109", "2110", "2111", "2112", "2113", "2114", "2115", "2116", "2117", "2118", "2119", "2120", "2122", "2123", "2124", "2130", "2501", "2502", "2509", "2601", "2602", "2603", "2604", "0301", "3001", "3002" }, + ajmc = casename, + sfsy = "", + sfbd = "", + dwbms = new string[] + { + dwbm + }, + page = page.ToString(), + size = size.ToString() + }; + httpClient.DefaultRequestHeaders.Add("X-IDENTITY", "eyJkbGJtIjoi5rGk6Lev5bmzIiwicnlibSI6IjQxMDUwMzAwNzQiLCJkd2JtIjoiNDEwNTAzIiwiZHdtYyI6IuWMl+WFs+WMuumZoiIsInJ5bWMiOiLmsaTot6/lubMifQ=="); + var request = await httpClient.PostAsJsonAsync("/dzjzzz-service/api/dzjzzz/dzjzzzYxJzjbxx/getDzzjzList", param); + var data = await request.EnsureSuccessStatusCode().Content.ReadAsStringAsync(); + var result = data.ConvertToAnonymousType(new + { + code = default(string), + success = default(bool), + message = default(string), + data = new + { + pageNum = default(int), + pageSize = default(int), + total = default(int), + pages = default(int), + list = new[] + { + default(JZInfo) + } + } + }); + if (result.success == true) + { + if (result.data == null) + { + return new Result>() + { + IsSucceed = true, + Message = result.message ?? "查询成功" + }; + } + else + { + var res = new Result>() + { + IsSucceed = true, + Message = "操作成功", + result = new Paging() + { + pageNum = result?.data?.pageNum, + pageSize = result?.data?.pageSize, + total = result?.data?.total, + pages = result?.data?.pages, + List = result?.data?.list?.ToList() + } + }; + return res; + } + + } + else + { + return new Result>() + { + IsSucceed = false, + Message = result.message ?? "查询失败" + }; + } + + } + } + public class Paging + { + public int? pageNum { get; set; } + public int? pageSize { get; set; } + public int? total { get; set; } + public int? pages { get; set; } + public IEnumerable? List { get; set; } + } + public class Result + { + /// + /// 成功/失败 + /// + [DataMember] + public bool IsSucceed { get; set; } + + /// + /// 消息 + /// + [DataMember] + public string Message { get; set; } + /// + /// 消息 + /// + [DataMember] + public dynamic result { get; set; } + } + public class Result : Result + { + /// + /// 扩展数据 + /// + [DataMember] + public new T result { get; set; } + } + + public class JZInfo + { + public string? jzbh { get; set; } + public string? ajmc { get; set; } + public string? bmsah { get; set; } + public string? cbdwbm { get; set; } + public string? rybm { get; set; } + public string? rymc { get; set; } + public int? cs { get; set; } + public int? ys { get; set; } + public DateTime? cjsj { get; set; } + public DateTime? cjrq { get; set; } + public string? zzr { get; set; } + public string? zzrbm { get; set; } + public string? zzzt { get; set; } + public string? jzms { get; set; } + public string? jzxh { get; set; } + public string? nfbd { get; set; } + public string? jzsd { get; set; } + public string? ajlbbm { get; set; } + public string? ajlbmc { get; set; } + public DateTime? slrq { get; set; } + public string? jzocrzt { get; set; } + public string? id { get; set; } + public string? yjzmc { get; set; } + public string? sfck { get; set; } + public string? sfkcz { get; set; } + public string? qlzt { get; set; } + } +} \ No newline at end of file diff --git a/WebApplication1/ConvertorExtension.cs b/WebApplication1/ConvertorExtension.cs new file mode 100644 index 0000000..450cb18 --- /dev/null +++ b/WebApplication1/ConvertorExtension.cs @@ -0,0 +1,142 @@ +锘縰sing Newtonsoft.Json; +using System.Runtime.CompilerServices; +using System.Text; + +namespace WebApplication1 +{ + + public static class ConvertorExtension + { + /// + /// model=>json string + /// + /// + /// + /// + + private readonly static JsonSerializerSettings settings = new JsonSerializerSettings() + { + NullValueHandling = NullValueHandling.Ignore, + ReferenceLoopHandling = ReferenceLoopHandling.Ignore + }; + public static string ConvertToJsonStr(this T t) + { + try + { + return JsonConvert.SerializeObject(t, Formatting.None, settings); + + } + catch + { + return default; + } + } + public static T DeepCopy(this T t) + { + return t.ConvertToJsonStr().ConvertToModel(); + } + /// + /// json杞负鍖垮悕瀵硅薄 + /// + /// + /// + /// + /// + public static T ConvertToAnonymousType(this object json, T anonymousTypeObject) + { + try + { + return JsonConvert.DeserializeAnonymousType(json.ToString(), anonymousTypeObject); + } + catch + { + return default; + } + } + /// + /// object 杞尶鍚嶇被 + /// + /// + /// + /// + /// + public static T ConvertToAnonymous(this object anonymous, T anonymousType) + { + try + { + if (anonymous != null) + { + return (T)anonymous; + } + else + { + return default; + } + } + catch + { + return default; + + } + } + /// + /// json string=>mdoel + /// + /// + /// + /// + public static T ConvertToModel(this string str, [CallerMemberName] string methodname = "") + { + try + { + return JsonConvert.DeserializeObject(str); + } + catch (Exception) + { + return default; + } + } + public static string ConvertToBase64(this string str) + { + return Convert.ToBase64String(Encoding.Default.GetBytes(str)); + } + public static string ConvertToGetParam(this object obj) + { + StringBuilder strBui = new StringBuilder(); + + System.Reflection.PropertyInfo[] proArray = obj.GetType().GetProperties(); + foreach (System.Reflection.PropertyInfo pro in proArray) + { + if (strBui.Length < 1) + { + strBui.Append("?"); + } + else + { + strBui.Append("&"); + } + strBui.Append(string.Format("{0}={1}", pro.Name, pro.GetValue(obj, null))); + } + return strBui.ToString(); + } + // DateTime --> long + public static long ConvertDateTimeToLong(DateTime dt) + { + DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); + TimeSpan toNow = dt.Subtract(dtStart); + long timeStamp = toNow.Ticks; + timeStamp = long.Parse(timeStamp.ToString().Substring(0, timeStamp.ToString().Length - 4)); + return timeStamp; + } + // long --> DateTime + public static DateTime ConvertLongToDateTime(long d) + { + DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); + long lTime = long.Parse(d + "0000"); + TimeSpan toNow = new TimeSpan(lTime); + DateTime dtResult = dtStart.Add(toNow); + return dtResult; + } + + } +} diff --git a/WebApplication1/MDossier.cs b/WebApplication1/MDossier.cs new file mode 100644 index 0000000..865c5b9 --- /dev/null +++ b/WebApplication1/MDossier.cs @@ -0,0 +1,380 @@ +锘縰sing Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Http.Headers; +using System.Text; +using System.Threading.Tasks; + +namespace test +{ + internal class MDossier + { + private string TyywAddr + { + get; + set; + } + private string DWBM + { + get; + set; + } + + public MDossier(string _dwbm, string _TyywAddr) + { + DWBM = _dwbm; + TyywAddr = _TyywAddr; + } + + #region 鑾峰彇鍗峰畻淇℃伅鎿嶄綔 + public async Task GetJZXX(string dwbm, string bmsah) + { + JZJBXX jbxx = new JZJBXX(); + #region POST + string apiUrl = "http://" + TyywAddr + "/dzjz-service/api/dzjz/getDzjzInfo"; // 鎺ュ彛 + //鍒涘缓涓涓狧TTP璇锋眰 + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(apiUrl); + //Post璇锋眰鏂瑰紡 + request.Method = "POST"; + //鍐呭绫诲瀷 + request.ContentType = "application/json"; + //璁剧疆鍙傛暟锛屽苟杩涜URL缂栫爜 + string paraUrlCoded = "{\"bmsah\":\"" + bmsah + "\",\"dwbm\":\"" + dwbm + "\"}"; + byte[] payload; + //灏咼son瀛楃涓茶浆鍖栦负瀛楄妭 + payload = System.Text.Encoding.UTF8.GetBytes(paraUrlCoded); + //璁剧疆璇锋眰鐨凜ontentLength + request.ContentLength = payload.Length; + //鍙戦佽姹傦紝鑾峰緱璇锋眰娴 + Stream writer; + try + { + //鑾峰彇鐢ㄤ簬鍐欏叆璇锋眰鏁版嵁鐨凷tream瀵硅薄 + writer = request.GetRequestStream(); + } + catch (Exception ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 1 鍙傛暟搴忓垪鍖栧け璐ワ細" + ex.Message); + return jbxx; + } + //灏嗚姹傚弬鏁板啓鍏ユ祦 + writer.Write(payload, 0, payload.Length); + writer.Close();//鍏抽棴璇锋眰娴 + + HttpWebResponse response; + try + { + //鑾峰緱鍝嶅簲娴 + response = (HttpWebResponse)request.GetResponse(); + } + catch (WebException ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 1 璇锋眰寮傚父锛" + ex.Message); + return jbxx; + } + + if (response != null) + { + Stream s = response.GetResponseStream(); + StreamReader sRead = new StreamReader(s); + string postContent = sRead.ReadToEnd(); + sRead.Close(); + s.Close(); + try + { + var jsonObj = JsonConvert.DeserializeObject(postContent); + if (jsonObj != null) + { + if (jsonObj.jzjbxx != null) + { + if (jsonObj.jzjbxx.Count > 0) + { + jbxx = jsonObj.jzjbxx[0]; + List jzml = await GetJZML(bmsah); + jbxx.jzml = jzml; + } + } + } + } + catch (Exception ex) + { + LogHelpe.WriteErrorLog($"鎺ュ彛 1 澶辫触鍘熷洜锛歿ex.Message}"); + } + } + return jbxx; + #endregion + } + private async Task> GetJZML(string bmsah) + { + List jzml = new List(); + #region POST + string apiUrl = "http://" + TyywAddr + "/dzjzzz-service/api/dzjz/getDzjzMlWjInfo"; // 闆嗕腑閮ㄧ讲 + //鍒涘缓涓涓狧TTP璇锋眰 + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(apiUrl); + //Post璇锋眰鏂瑰紡 + request.Method = "POST"; + //鍐呭绫诲瀷 + request.ContentType = "application/json"; + //璁剧疆鍙傛暟锛屽苟杩涜URL缂栫爜 + string paraUrlCoded = "{\"bmsah\":\"" + bmsah + "\"}"; + byte[] payload; + //灏咼son瀛楃涓茶浆鍖栦负瀛楄妭 + payload = System.Text.Encoding.UTF8.GetBytes(paraUrlCoded); + //璁剧疆璇锋眰鐨凜ontentLength + request.ContentLength = payload.Length; + //鍙戦佽姹傦紝鑾峰緱璇锋眰娴 + Stream writer; + try + { + //鑾峰彇鐢ㄤ簬鍐欏叆璇锋眰鏁版嵁鐨凷tream瀵硅薄 + writer = request.GetRequestStream(); + } + catch (Exception ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 2 鍙傛暟搴忓垪鍖栧け璐ワ細" + ex.Message); + return jzml; + } + //灏嗚姹傚弬鏁板啓鍏ユ祦 + writer.Write(payload, 0, payload.Length); + writer.Close();//鍏抽棴璇锋眰娴 + + HttpWebResponse response; + try + { + //鑾峰緱鍝嶅簲娴 + response = (HttpWebResponse)request.GetResponse(); + } + catch (WebException ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 2 璇锋眰寮傚父锛" + ex.Message); + return jzml; + } + + if (response != null) + { + Stream s = response.GetResponseStream(); + StreamReader sRead = new StreamReader(s); + string postContent = sRead.ReadToEnd(); + sRead.Close(); + s.Close(); + try + { + + var jsonObj = JsonConvert.DeserializeObject(postContent); + if (jsonObj != null) + { + jzml = jsonObj.data.jzml; + if (jsonObj.data != null) + { + LogHelpe.WriteInfoLog("鐩綍鏁版嵁锛" + jsonObj.data.jzml.Count); + foreach (var item in jzml) + { + // 鏂囦欢鎺ュ彛鐨勫弬鏁 + var mlbh = item.mlbh; + var jzbh = item.jzbh; + //鑾峰彇鍗锋垨鐩綍涓嬬殑鎵鏈夋枃浠跺垪琛 + List wjlist = await GetJZMLWJ(mlbh, jzbh); + if (jsonObj.data.jzmlwj != null) + { + for (int i = 0; i < wjlist.Count; i++) + { + var wj = jsonObj.data.jzmlwj.Where(w => w.wjxh.Equals(wjlist[i].wjxh)).FirstOrDefault(); + if (wj != null) + { + wjlist[i].bsbh = jsonObj.data.jzmlwj[i].bsbh; + } + } + } + item.jzwj = wjlist; + } + return jzml; + } + } + } + catch (Exception ex) + { + LogHelpe.WriteErrorLog($"鎺ュ彛 2 澶辫触鍘熷洜锛歿ex.Message}"); + return jzml; + } + + } + return jzml; + #endregion + } + /// + /// 鑾峰彇鍗锋垨鐩綍涓嬬殑鎵鏈夋枃浠跺垪琛 + /// + private async Task> GetJZMLWJ(string mlbh, string jzbh) + { + string apiUrl = "http://" + TyywAddr + "/dzjzzz-service/api/dzjzzz/dzjzzzYxJzmlwj/getJzmlwjInfo"; // 闆嗕腑閮ㄧ讲 + LogHelpe.WriteInfoLog($"璇锋眰鍦板潃锛歿apiUrl}"); //鍒涘缓涓涓狧TTP璇锋眰 + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(apiUrl); + //Post璇锋眰鏂瑰紡 + request.Method = "POST"; + //鍐呭绫诲瀷 + request.ContentType = "application/json"; + //璁剧疆鍙傛暟锛屽苟杩涜URL缂栫爜 + string paraUrlCoded = "{\"mlbh\":\"" + mlbh + "\",\"jzbh\": \"" + jzbh + "\"}"; + byte[] payload; + //灏咼son瀛楃涓茶浆鍖栦负瀛楄妭 + payload = System.Text.Encoding.UTF8.GetBytes(paraUrlCoded); + //璁剧疆璇锋眰鐨凜ontentLength + request.ContentLength = payload.Length; + //鍙戦佽姹傦紝鑾峰緱璇锋眰娴 + Stream writer; + try + { + //鑾峰彇鐢ㄤ簬鍐欏叆璇锋眰鏁版嵁鐨凷tream瀵硅薄 + writer = request.GetRequestStream(); + } + catch (Exception ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 3 鍙傛暟搴忓垪鍖栧け璐ワ細" + ex.Message); + return new List(); + } + //灏嗚姹傚弬鏁板啓鍏ユ祦 + writer.Write(payload, 0, payload.Length); + writer.Close();//鍏抽棴璇锋眰娴 + HttpWebResponse response; + try + { + //鑾峰緱鍝嶅簲娴 + response = (HttpWebResponse)request.GetResponse(); + } + catch (WebException ex) + { + LogHelpe.WriteInfoLog("鎺ュ彛 3 璇锋眰寮傚父锛" + ex.Message); + return new List(); + } + + if (response != null) + { + Stream s = response.GetResponseStream(); + StreamReader sRead = new StreamReader(s); + string postContent = sRead.ReadToEnd(); + s.Close(); + sRead.Close(); + + try + { + var jsonObj = JsonConvert.DeserializeObject(postContent); + if (jsonObj != null) + { + if (jsonObj.code == "0" && jsonObj.success == "true") + { + if (jsonObj.data != null && jsonObj.data.Count > 0) + { + List mLWJItems = jsonObj.data; + return mLWJItems; + } + } + } + } + catch (Exception ex) + { + LogHelpe.WriteErrorLog($"鎺ュ彛 3 澶辫触鍘熷洜锛歿ex.Message}"); + } + } + + return new List(); + } + #endregion + + #region 涓嬭浇鏂囦欢 + //浠诲姟鏁版嵁闃熷垪 + private List lst_bmsah = new List(); + private bool taskStatus = true; + private int taskCount = 0; + public async void DownJZFiles(JZJBXX jbxx, string dirPath, bool cacheFile = true) + { + if (jbxx != null) + { + if (jbxx.jzml != null && jbxx.jzml.Count > 0) + { + for (int m = 0; m < jbxx.jzml.Count; m++) + { + if (jbxx.jzml[m].jzwj != null && jbxx.jzml[m].jzwj.Count > 0) + { + for (int j = 0; j < jbxx.jzml[m].jzwj.Count; j++) + { + if (!Directory.Exists(dirPath)) + { + Directory.CreateDirectory(dirPath); + } + if (Directory.Exists(dirPath)) + { + string filePath = Path.Combine(dirPath, Path.GetFileName(jbxx.jzml[m].jzwj[j].wjxh + ".jpg")); + byte[] jpgBytes = DownJZWJFile(jbxx.jzml[m].jzwj[j].jpgwjlj, jbxx.jzml[m].jzwj[j].wjxsmc, jbxx.jzml[m].mlxsmc, filePath, cacheFile); + } + } + } + } + } + } + + } + + + //涓嬭浇鍥剧墖 + private byte[] DownJZWJFile(string url, string wjxsmc, string mlxsmc, string filePath, bool cacheFile = true) + { + byte[] jpgByte = new byte[] { }; + + try + { + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); + //鍙戦佽姹傚苟鑾峰彇鐩稿簲鍥炲簲鏁版嵁 + HttpWebResponse response = request.GetResponse() as HttpWebResponse; + + Stream responseStream = response.GetResponseStream(); + try + { + #region 姝e紡 + MemoryStream memory = new MemoryStream(); + byte[] bArr = new byte[1024]; + int size = responseStream.Read(bArr, 0, (int)bArr.Length); + while (size > 0) + { + memory.Write(bArr, 0, size); + size = responseStream.Read(bArr, 0, (int)bArr.Length); + } + + if (cacheFile) + { + //鏂囦欢钀藉湴锛堟湰鍦板瓨鏀撅級 + using (var fileStream = File.Create(filePath)) + { + memory.Seek(0, SeekOrigin.Begin); + memory.CopyTo(fileStream); + } + } + jpgByte = memory.ToArray(); + // 鍏抽棴璇锋眰娴 + memory.Close(); + + responseStream.Close(); + + #endregion + } + catch (Exception ex) + { + LogHelpe.WriteErrorLog(string.Format("鏂囦欢涓嬭浇澶辫触,鏂囦欢鍚嶏細{0}/{1}锛寋2}", wjxsmc, mlxsmc, ex.Message)); + } + } + catch (Exception ex) + { + LogHelpe.WriteErrorLog($"GetBytesFromUrl澶辫触鍘熷洜锛歿ex.Message}"); + } + return jpgByte; + } + + + #endregion + + + } +} diff --git a/WebApplication1/MDossierEntity.cs b/WebApplication1/MDossierEntity.cs new file mode 100644 index 0000000..166fc7c --- /dev/null +++ b/WebApplication1/MDossierEntity.cs @@ -0,0 +1,261 @@ +锘縰sing Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +/// +/// 鐩綍缁撴瀯 +/// +public class JZML +{ + /// + /// + /// + public string taskid { get; set; } + /// + /// + /// + public string jzbh { get; set; } + /// + /// + /// + public string mlbh { get; set; } + /// + /// + /// + public string fmlbh { get; set; } + /// + /// 鏂板鍗 + /// + public string mlxsmc { get; set; } + /// + /// + /// + public string mlxx { get; set; } + /// + /// + /// + public string mlsxh { get; set; } + /// + /// + /// + public string mllx { get; set; } + /// + /// + /// + public string dwbm { get; set; } + public List jzwj { get; set; } +} + +public class JZMLData +{ + public List jzml { get; set; } + + //public List jzwj { get; set; } + public List jzmlwj { get; set; } +} + + +public class JZMLStruct +{ + public string code { get; set; } + public string success { get; set; } + // 鑾峰彇鐢靛瓙鍗蜂欢淇℃伅鎴愬姛 + public string message { get; set; } + public JZMLData data { get; set; } +} + + +public class JzmlwjItem +{ + /// + /// + /// + public string wjxh { get; set; } + /// + /// + /// + public string mlbh { get; set; } + /// + /// + /// + public string wjym { get; set; } + /// + /// + /// + public string wjlx { get; set; } + /// + /// + /// + public string wjscbz { get; set; } + /// + /// + /// + public int wjsxh { get; set; } + /// + /// 鐩綍 + /// + public string wjxsmc { get; set; } + /// + /// + /// + public string jzbh { get; set; } + /// + /// + /// + public string wjlj { get; set; } + /// + /// + /// + public string wjmc { get; set; } + /// + /// + /// + public string wjhz { get; set; } + /// + /// + /// + public string bsbh { get; set; } + /// + /// + /// + public string wjksy { get; set; } + /// + /// + /// + public string wjjsy { get; set; } +} + + +public class JZWJItem +{ + public string wjxh { get; set; } + public string mlbh { get; set; } + public string ywjlj { get; set; } + public string sltwjlj { get; set; } + public string pdfwjlj { get; set; } + public string jpgwjlj { get; set; } + public string wjym { get; set; } + public string wjlx { get; set; } + public string wjscbz { get; set; } + public int wjsxh { get; set; } + public string wjxsmc { get; set; } + public string jzbh { get; set; } + public string wjocrsbzt { get; set; } + public string cjsj { get; set; } + public string time { get; set; } + public string taskid { get; set; } + public string wjbs { get; set; } + public string bsbh { get; set; } +} + +public class JZWJStruct +{ + public string code { get; set; } + public string success { get; set; } + public string message { get; set; } + public List data { get; set; } +} + + + + + +public class JZJBXX +{ + /// + /// 閮ㄩ棬鍙楁鍙 + /// + public string bmsah { get; set; } + /// + /// 鍗峰畻缂栧彿 + /// + public string jzbh { get; set; } + /// + /// 鍗曚綅缂栫爜 + /// + public string dwbm { get; set; } + /// + /// 锛堢畝妗堬級鐜嬪娑夊珜鍗遍櫓椹鹃┒妗 + /// + public string jzmc { get; set; } + /// + /// 姹よ矾骞 + /// + public string jzzzr { get; set; } + /// + /// 妗堜欢绫诲埆缂栫爜 + /// + public string ajlbbm { get; set; } + /// + /// 妗堜欢绫诲埆鍚嶇О + /// + public string ajlbmc { get; set; } + + public List jzml { get; set; } +} + + +public class JBXXStruct +{ + public List jzjbxx { get; set; } + +} + +public class ApiResponse +{ + /// + /// 杩斿洖浠g爜 200:鎴愬姛 300锛氱郴缁熼敊璇 400:鑷畾涔夐敊璇 500:ORC璇嗗埆閿欒 + /// + [JsonProperty(PropertyName = "code")] + public int Code { get; set; } + + /// + /// 閿欒淇℃伅 + /// + [JsonProperty(PropertyName = "Message")] + public string Message { get; set; } + + /// + /// 缁撴灉 + /// + [JsonProperty(PropertyName = "data")] + public object Data { get; set; } +} + +public class ImagesRoot +{ + /// + /// + /// + public ImagesData Data { get; set; } + + /// + /// + /// + public int Code { get; set; } + /// + /// PDF杞浘鐗囨垚鍔 + /// + public string Message { get; set; } +} + +public class ImagesData +{ + /// + /// + /// + public int code { get; set; } + /// + /// + /// + public List> data { get; set; } + public List file_base64 { get; set; } + + /// + /// + /// + public string errMsg { get; set; } +} \ No newline at end of file diff --git a/WebApplication1/MLogHelpe.cs b/WebApplication1/MLogHelpe.cs new file mode 100644 index 0000000..fe3446e --- /dev/null +++ b/WebApplication1/MLogHelpe.cs @@ -0,0 +1,76 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Configuration; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace test +{ + /// + /// 鑷畾涔夋棩蹇 + /// + public class LogHelpe + { + /// + /// 淇℃伅鏃ュ織 + /// + /// + public static void WriteInfoLog(string str, string dirName = @"logs") + { + //return; + try + { + var status = 1;//int.Parse(ConfigurationManager.AppSettings["LogStatus"]); + if (status == 0) // 0涓嶈緭鍑烘棩蹇楋紝1杈撳嚭鏃ュ織 + { + return; + } + else + { + if (string.IsNullOrEmpty(str)) return; + + var baseDir = AppDomain.CurrentDomain.BaseDirectory + dirName; + if (!Directory.Exists(baseDir)) + { + Directory.CreateDirectory(baseDir); + } + string filePath = Path.Combine(baseDir, DateTime.Now.ToString("yyyy-MM-dd") + "_infolog.txt"); + using (StreamWriter sw = File.AppendText(filePath)) + { + sw.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss fff ") + "[" + str + "]" + "\r\n"); + sw.Flush(); + } + } + } + catch { } + } + + /// + /// 閿欒鏃ュ織 + /// + /// + public static void WriteErrorLog(string str, string dirName = @"logs") + { + //return; + try + { + if (string.IsNullOrEmpty(str)) return; + + var baseDir = AppDomain.CurrentDomain.BaseDirectory + dirName; + if (!Directory.Exists(baseDir)) + { + Directory.CreateDirectory(baseDir); + } + string filePath = Path.Combine(baseDir, DateTime.Now.ToString("yyyy-MM-dd") + "_errorlog.txt"); + using (StreamWriter sw = File.AppendText(filePath)) + { + sw.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss fff ") + "[" + str + "]" + "\r\n"); + sw.Flush(); + } + } + catch { } + } + } +} diff --git a/WebApplication1/Program.cs b/WebApplication1/Program.cs new file mode 100644 index 0000000..be24561 --- /dev/null +++ b/WebApplication1/Program.cs @@ -0,0 +1,26 @@ +Console.Title = "2.0 System Proxy Client"; +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. + +builder.Services.AddControllers(); +// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(); +builder.Services.AddHttpClient(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (app.Environment.IsDevelopment()) +{ + app.UseSwagger(); + app.UseSwaggerUI(); +} + + +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); diff --git a/WebApplication1/Properties/launchSettings.json b/WebApplication1/Properties/launchSettings.json new file mode 100644 index 0000000..22748e8 --- /dev/null +++ b/WebApplication1/Properties/launchSettings.json @@ -0,0 +1,31 @@ +锘縶 + "$schema": "https://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:34369", + "sslPort": 44333 + } + }, + "profiles": { + "WebApplication1": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "https://localhost:7156;http://localhost:5194", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/WebApplication1/WeatherForecast.cs b/WebApplication1/WeatherForecast.cs new file mode 100644 index 0000000..d352e27 --- /dev/null +++ b/WebApplication1/WeatherForecast.cs @@ -0,0 +1,13 @@ +namespace WebApplication1 +{ + public class WeatherForecast + { + public DateTime Date { get; set; } + + public int TemperatureC { get; set; } + + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + + public string? Summary { get; set; } + } +} \ No newline at end of file diff --git a/WebApplication1/WebApplication1.csproj b/WebApplication1/WebApplication1.csproj new file mode 100644 index 0000000..aa79712 --- /dev/null +++ b/WebApplication1/WebApplication1.csproj @@ -0,0 +1,14 @@ +锘 + + + net6.0 + enable + enable + + + + + + + + diff --git a/WebApplication1/WebApplication1.csproj.user b/WebApplication1/WebApplication1.csproj.user new file mode 100644 index 0000000..0768057 --- /dev/null +++ b/WebApplication1/WebApplication1.csproj.user @@ -0,0 +1,9 @@ +锘 + + + ProjectDebugger + + + WebApplication1 + + \ No newline at end of file diff --git a/WebApplication1/WebApplication1.sln b/WebApplication1/WebApplication1.sln new file mode 100644 index 0000000..cbe2d1b --- /dev/null +++ b/WebApplication1/WebApplication1.sln @@ -0,0 +1,25 @@ +锘 +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33829.357 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "WebApplication1.csproj", "{1CFB55C9-4B8D-4D99-B444-5EB6EBF6B3E7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1CFB55C9-4B8D-4D99-B444-5EB6EBF6B3E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1CFB55C9-4B8D-4D99-B444-5EB6EBF6B3E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1CFB55C9-4B8D-4D99-B444-5EB6EBF6B3E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1CFB55C9-4B8D-4D99-B444-5EB6EBF6B3E7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0B59E350-8D7E-441E-8F31-D555F1C290E1} + EndGlobalSection +EndGlobal diff --git a/WebApplication1/appsettings.Development.json b/WebApplication1/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/WebApplication1/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/WebApplication1/appsettings.json b/WebApplication1/appsettings.json new file mode 100644 index 0000000..aea7b3c --- /dev/null +++ b/WebApplication1/appsettings.json @@ -0,0 +1,14 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + + "AllowedHosts": "*", + "Configs": { + "SystemIp": "143.120.5.25", + "Port": "8080" + } +} diff --git a/WebApplication1/bin/Debug/net6.0/WebApplication1.deps.json b/WebApplication1/bin/Debug/net6.0/WebApplication1.deps.json new file mode 100644 index 0000000..9f373a5 --- /dev/null +++ b/WebApplication1/bin/Debug/net6.0/WebApplication1.deps.json @@ -0,0 +1,131 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "WebApplication1/1.0.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3", + "Swashbuckle.AspNetCore": "6.0.0" + }, + "runtime": { + "WebApplication1.dll": {} + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "Swashbuckle.AspNetCore/6.0.0": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.0.0", + "Swashbuckle.AspNetCore.SwaggerGen": "6.0.0", + "Swashbuckle.AspNetCore.SwaggerUI": "6.0.0" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.0.0": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.0.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.0.0": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.0.0" + }, + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.0.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.0.0": { + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.0.0" + } + } + } + } + }, + "libraries": { + "WebApplication1/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VxukQYrUrxNUWQocOxmxua/4fZOPBdGCLSaoZYRNthZae0UXB+fzjTBTlj24fZEQrP+QTnsRwSygN9jNBqm/hg==", + "path": "swashbuckle.aspnetcore/6.0.0", + "hashPath": "swashbuckle.aspnetcore.6.0.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-onkGK5eDFmyNy605E5ZaT5oXEGsQJz2UEKsUOqYCZRBC2Fi6MbByUl+qznyl3pZ9/4nTvukUjt9+v28qvJPk/Q==", + "path": "swashbuckle.aspnetcore.swagger/6.0.0", + "hashPath": "swashbuckle.aspnetcore.swagger.6.0.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-RXY21STD/yo4Uzy1L5GoRrEQQWoOosw0QBYo572VwcjePmpV1yFFHsTeThlMNBWKoTt6xadIdSjZj0FmDFYL2A==", + "path": "swashbuckle.aspnetcore.swaggergen/6.0.0", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.0.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VusRaCFt2As3SXBJmUOGA40IGr6ao+vsvDi7jbCS4AFx69kUUm8zxIHeJVqGov3w4lQowVxv8gmonRXDRh1FvQ==", + "path": "swashbuckle.aspnetcore.swaggerui/6.0.0", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/WebApplication1/bin/Debug/net6.0/WebApplication1.runtimeconfig.json b/WebApplication1/bin/Debug/net6.0/WebApplication1.runtimeconfig.json new file mode 100644 index 0000000..dfb1b77 --- /dev/null +++ b/WebApplication1/bin/Debug/net6.0/WebApplication1.runtimeconfig.json @@ -0,0 +1,19 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/WebApplication1/bin/Debug/net6.0/appsettings.Development.json b/WebApplication1/bin/Debug/net6.0/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/WebApplication1/bin/Debug/net6.0/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/WebApplication1/bin/Debug/net6.0/appsettings.json b/WebApplication1/bin/Debug/net6.0/appsettings.json new file mode 100644 index 0000000..aea7b3c --- /dev/null +++ b/WebApplication1/bin/Debug/net6.0/appsettings.json @@ -0,0 +1,14 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + + "AllowedHosts": "*", + "Configs": { + "SystemIp": "143.120.5.25", + "Port": "8080" + } +} diff --git a/WebApplication1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/WebApplication1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ed92695 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfo.cs b/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfo.cs new file mode 100644 index 0000000..fcad7bc --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// 杩愯鏃剁増鏈:4.0.30319.42000 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳戒細瀵艰嚧涓嶆纭殑琛屼负锛屽苟涓斿鏋 +// 閲嶆柊鐢熸垚浠g爜锛岃繖浜涙洿鏀瑰皢浼氫涪澶便 +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyTitleAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// 鐢 MSBuild WriteCodeFragment 绫荤敓鎴愩 + diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfoInputs.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfoInputs.cache new file mode 100644 index 0000000..6d63d24 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +dee9a2aee02504fa7cdc7ec740942fa35fde151a diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig b/WebApplication1/obj/Debug/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..5506319 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = WebApplication1 +build_property.RootNamespace = WebApplication1 +build_property.ProjectDir = C:\Users\callm\source\repos\24Hour.Service\WebApplication1\ +build_property.RazorLangVersion = 6.0 +build_property.SupportLocalizedComponentNames = +build_property.GenerateRazorMetadataSourceChecksumAttributes = +build_property.MSBuildProjectDirectory = C:\Users\callm\source\repos\24Hour.Service\WebApplication1 +build_property._RazorSourceGeneratorDebug = diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.GlobalUsings.g.cs b/WebApplication1/obj/Debug/net6.0/WebApplication1.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.MvcApplicationPartsAssemblyInfo.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.MvcApplicationPartsAssemblyInfo.cache new file mode 100644 index 0000000..e69de29 diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.MvcApplicationPartsAssemblyInfo.cs b/WebApplication1/obj/Debug/net6.0/WebApplication1.MvcApplicationPartsAssemblyInfo.cs new file mode 100644 index 0000000..a8a0fb0 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.MvcApplicationPartsAssemblyInfo.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// 杩愯鏃剁増鏈:4.0.30319.42000 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳戒細瀵艰嚧涓嶆纭殑琛屼负锛屽苟涓斿鏋 +// 閲嶆柊鐢熸垚浠g爜锛岃繖浜涙洿鏀瑰皢浼氫涪澶便 +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")] + +// 鐢 MSBuild WriteCodeFragment 绫荤敓鎴愩 + diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.assets.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.assets.cache new file mode 100644 index 0000000..97ad8a3 Binary files /dev/null and b/WebApplication1/obj/Debug/net6.0/WebApplication1.assets.cache differ diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.AssemblyReference.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.AssemblyReference.cache new file mode 100644 index 0000000..24cd32b Binary files /dev/null and b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.AssemblyReference.cache differ diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.BuildWithSkipAnalyzers b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.CopyComplete b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.CoreCompileInputs.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..c741f87 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +ac56ad9b6183bc8b59750f58f05f67fc92de8fa8 diff --git a/WebApplication1/obj/Debug/net6.0/WebApplication1.genruntimeconfig.cache b/WebApplication1/obj/Debug/net6.0/WebApplication1.genruntimeconfig.cache new file mode 100644 index 0000000..781b619 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/WebApplication1.genruntimeconfig.cache @@ -0,0 +1 @@ +610863d42c67d516702e9bf4f1e2639f75e23658 diff --git a/WebApplication1/obj/Debug/net6.0/staticwebassets.build.json b/WebApplication1/obj/Debug/net6.0/staticwebassets.build.json new file mode 100644 index 0000000..e7028e1 --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/staticwebassets.build.json @@ -0,0 +1,11 @@ +{ + "Version": 1, + "Hash": "ozPU8KMwOlbQHpcE5qZTZ7CirEa+BWCC4ogaz+QJEsE=", + "Source": "WebApplication1", + "BasePath": "_content/WebApplication1", + "Mode": "Default", + "ManifestType": "Build", + "ReferencedProjectsConfiguration": [], + "DiscoveryPatterns": [], + "Assets": [] +} \ No newline at end of file diff --git a/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.build.WebApplication1.props b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.build.WebApplication1.props new file mode 100644 index 0000000..5a6032a --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.build.WebApplication1.props @@ -0,0 +1,3 @@ +锘 + + \ No newline at end of file diff --git a/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.WebApplication1.props b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.WebApplication1.props new file mode 100644 index 0000000..be38ccf --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.WebApplication1.props @@ -0,0 +1,3 @@ +锘 + + \ No newline at end of file diff --git a/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.WebApplication1.props b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.WebApplication1.props new file mode 100644 index 0000000..46e54cd --- /dev/null +++ b/WebApplication1/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.WebApplication1.props @@ -0,0 +1,3 @@ +锘 + + \ No newline at end of file diff --git a/WebApplication1/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/WebApplication1/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ed92695 --- /dev/null +++ b/WebApplication1/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfo.cs b/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfo.cs new file mode 100644 index 0000000..f61c658 --- /dev/null +++ b/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// 杩愯鏃剁増鏈:4.0.30319.42000 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳戒細瀵艰嚧涓嶆纭殑琛屼负锛屽苟涓斿鏋 +// 閲嶆柊鐢熸垚浠g爜锛岃繖浜涙洿鏀瑰皢浼氫涪澶便 +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyTitleAttribute("WebApplication1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// 鐢 MSBuild WriteCodeFragment 绫荤敓鎴愩 + diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfoInputs.cache b/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfoInputs.cache new file mode 100644 index 0000000..62cf5a3 --- /dev/null +++ b/WebApplication1/obj/Release/net6.0/WebApplication1.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +e5ea81544c71ccdf664c478fb6e2942e864600b3 diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig b/WebApplication1/obj/Release/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..5506319 --- /dev/null +++ b/WebApplication1/obj/Release/net6.0/WebApplication1.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = WebApplication1 +build_property.RootNamespace = WebApplication1 +build_property.ProjectDir = C:\Users\callm\source\repos\24Hour.Service\WebApplication1\ +build_property.RazorLangVersion = 6.0 +build_property.SupportLocalizedComponentNames = +build_property.GenerateRazorMetadataSourceChecksumAttributes = +build_property.MSBuildProjectDirectory = C:\Users\callm\source\repos\24Hour.Service\WebApplication1 +build_property._RazorSourceGeneratorDebug = diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.GlobalUsings.g.cs b/WebApplication1/obj/Release/net6.0/WebApplication1.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/WebApplication1/obj/Release/net6.0/WebApplication1.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.assets.cache b/WebApplication1/obj/Release/net6.0/WebApplication1.assets.cache new file mode 100644 index 0000000..0940edf Binary files /dev/null and b/WebApplication1/obj/Release/net6.0/WebApplication1.assets.cache differ diff --git a/WebApplication1/obj/Release/net6.0/WebApplication1.csproj.AssemblyReference.cache b/WebApplication1/obj/Release/net6.0/WebApplication1.csproj.AssemblyReference.cache new file mode 100644 index 0000000..a5bee74 Binary files /dev/null and b/WebApplication1/obj/Release/net6.0/WebApplication1.csproj.AssemblyReference.cache differ diff --git a/WebApplication1/obj/WebApplication1.csproj.nuget.dgspec.json b/WebApplication1/obj/WebApplication1.csproj.nuget.dgspec.json new file mode 100644 index 0000000..f8eb543 --- /dev/null +++ b/WebApplication1/obj/WebApplication1.csproj.nuget.dgspec.json @@ -0,0 +1,87 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj": {} + }, + "projects": { + "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj", + "projectName": "WebApplication1", + "projectPath": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj", + "packagesPath": "C:\\Users\\callm\\.nuget\\packages\\", + "outputPath": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\DevExpress 21.1\\Components\\Offline Packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\callm\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 21.1.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "C:\\Program Files\\dotnet\\sdk\\7.0.306\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {}, + "http://47.108.27.176:14520/v3/index.json": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "Swashbuckle.AspNetCore": { + "target": "Package", + "version": "[6.0.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/WebApplication1/obj/WebApplication1.csproj.nuget.g.props b/WebApplication1/obj/WebApplication1.csproj.nuget.g.props new file mode 100644 index 0000000..8e73332 --- /dev/null +++ b/WebApplication1/obj/WebApplication1.csproj.nuget.g.props @@ -0,0 +1,25 @@ +锘 + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\callm\.nuget\packages\;C:\Program Files (x86)\DevExpress 21.1\Components\Offline Packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\ + PackageReference + 6.6.0 + + + + + + + + + + + + + C:\Users\callm\.nuget\packages\microsoft.extensions.apidescription.server\3.0.0 + + \ No newline at end of file diff --git a/WebApplication1/obj/WebApplication1.csproj.nuget.g.targets b/WebApplication1/obj/WebApplication1.csproj.nuget.g.targets new file mode 100644 index 0000000..a03b337 --- /dev/null +++ b/WebApplication1/obj/WebApplication1.csproj.nuget.g.targets @@ -0,0 +1,6 @@ +锘 + + + + + \ No newline at end of file diff --git a/WebApplication1/obj/project.assets.json b/WebApplication1/obj/project.assets.json new file mode 100644 index 0000000..025747f --- /dev/null +++ b/WebApplication1/obj/project.assets.json @@ -0,0 +1,348 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "build": { + "build/Microsoft.Extensions.ApiDescription.Server.props": {}, + "build/Microsoft.Extensions.ApiDescription.Server.targets": {} + }, + "buildMultiTargeting": { + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props": {}, + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets": {} + } + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "compile": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + }, + "Swashbuckle.AspNetCore/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.0.0", + "Swashbuckle.AspNetCore.SwaggerGen": "6.0.0", + "Swashbuckle.AspNetCore.SwaggerUI": "6.0.0" + }, + "build": { + "build/Swashbuckle.AspNetCore.props": {} + } + }, + "Swashbuckle.AspNetCore.Swagger/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "compile": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll": { + "related": ".pdb;.xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.0.0": { + "type": "package", + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.0.0" + }, + "compile": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "related": ".pdb;.xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.0.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "related": ".pdb;.xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + } + } + }, + "libraries": { + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "sha512": "LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "type": "package", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/Microsoft.Extensions.ApiDescription.Server.props", + "build/Microsoft.Extensions.ApiDescription.Server.targets", + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props", + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets", + "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512", + "microsoft.extensions.apidescription.server.nuspec", + "tools/Newtonsoft.Json.dll", + "tools/dotnet-getdocument.deps.json", + "tools/dotnet-getdocument.dll", + "tools/dotnet-getdocument.runtimeconfig.json", + "tools/net461-x86/GetDocument.Insider.exe", + "tools/net461-x86/GetDocument.Insider.exe.config", + "tools/net461/GetDocument.Insider.exe", + "tools/net461/GetDocument.Insider.exe.config", + "tools/netcoreapp2.1/GetDocument.Insider.deps.json", + "tools/netcoreapp2.1/GetDocument.Insider.dll", + "tools/netcoreapp2.1/GetDocument.Insider.runtimeconfig.json" + ] + }, + "Microsoft.OpenApi/1.2.3": { + "sha512": "Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "type": "package", + "path": "microsoft.openapi/1.2.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net46/Microsoft.OpenApi.dll", + "lib/net46/Microsoft.OpenApi.pdb", + "lib/net46/Microsoft.OpenApi.xml", + "lib/netstandard2.0/Microsoft.OpenApi.dll", + "lib/netstandard2.0/Microsoft.OpenApi.pdb", + "lib/netstandard2.0/Microsoft.OpenApi.xml", + "microsoft.openapi.1.2.3.nupkg.sha512", + "microsoft.openapi.nuspec" + ] + }, + "Newtonsoft.Json/13.0.3": { + "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "type": "package", + "path": "newtonsoft.json/13.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "README.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/net6.0/Newtonsoft.Json.dll", + "lib/net6.0/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.3.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "Swashbuckle.AspNetCore/6.0.0": { + "sha512": "VxukQYrUrxNUWQocOxmxua/4fZOPBdGCLSaoZYRNthZae0UXB+fzjTBTlj24fZEQrP+QTnsRwSygN9jNBqm/hg==", + "type": "package", + "path": "swashbuckle.aspnetcore/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/Swashbuckle.AspNetCore.props", + "swashbuckle.aspnetcore.6.0.0.nupkg.sha512", + "swashbuckle.aspnetcore.nuspec" + ] + }, + "Swashbuckle.AspNetCore.Swagger/6.0.0": { + "sha512": "onkGK5eDFmyNy605E5ZaT5oXEGsQJz2UEKsUOqYCZRBC2Fi6MbByUl+qznyl3pZ9/4nTvukUjt9+v28qvJPk/Q==", + "type": "package", + "path": "swashbuckle.aspnetcore.swagger/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.xml", + "swashbuckle.aspnetcore.swagger.6.0.0.nupkg.sha512", + "swashbuckle.aspnetcore.swagger.nuspec" + ] + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.0.0": { + "sha512": "RXY21STD/yo4Uzy1L5GoRrEQQWoOosw0QBYo572VwcjePmpV1yFFHsTeThlMNBWKoTt6xadIdSjZj0FmDFYL2A==", + "type": "package", + "path": "swashbuckle.aspnetcore.swaggergen/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "swashbuckle.aspnetcore.swaggergen.6.0.0.nupkg.sha512", + "swashbuckle.aspnetcore.swaggergen.nuspec" + ] + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.0.0": { + "sha512": "VusRaCFt2As3SXBJmUOGA40IGr6ao+vsvDi7jbCS4AFx69kUUm8zxIHeJVqGov3w4lQowVxv8gmonRXDRh1FvQ==", + "type": "package", + "path": "swashbuckle.aspnetcore.swaggerui/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "swashbuckle.aspnetcore.swaggerui.6.0.0.nupkg.sha512", + "swashbuckle.aspnetcore.swaggerui.nuspec" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "Newtonsoft.Json >= 13.0.3", + "Swashbuckle.AspNetCore >= 6.0.0" + ] + }, + "packageFolders": { + "C:\\Users\\callm\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\DevExpress 21.1\\Components\\Offline Packages": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj", + "projectName": "WebApplication1", + "projectPath": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj", + "packagesPath": "C:\\Users\\callm\\.nuget\\packages\\", + "outputPath": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\DevExpress 21.1\\Components\\Offline Packages", + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\callm\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 21.1.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "C:\\Program Files\\dotnet\\sdk\\7.0.306\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {}, + "http://47.108.27.176:14520/v3/index.json": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "Swashbuckle.AspNetCore": { + "target": "Package", + "version": "[6.0.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" + } + } + }, + "logs": [ + { + "code": "NU1803", + "level": "Warning", + "warningLevel": 1, + "message": "姝e湪閫氳繃 鈥淗TTP鈥 婧愨渉ttp://47.108.27.176:14520/v3/index.json鈥濊繍琛屸渞estore鈥濇搷浣溿傚皢鏉ョ殑鐗堟湰涓皢鍒犻櫎闈 HTTPS 璁块棶鏉冮檺銆傝鑰冭檻杩佺Щ鍒 鈥淗TTPS鈥 婧愩" + } + ] +} \ No newline at end of file diff --git a/WebApplication1/obj/project.nuget.cache b/WebApplication1/obj/project.nuget.cache new file mode 100644 index 0000000..4c3f5e3 --- /dev/null +++ b/WebApplication1/obj/project.nuget.cache @@ -0,0 +1,23 @@ +{ + "version": 2, + "dgSpecHash": "bS9QmmqQfP2i+ZmyVBEAp0TYQIot5GcyS3RQwnH4Hh6v20ZDeAtFDtGdQ3lt1YmygMIcbytxIyewDi05IvOoYw==", + "success": true, + "projectFilePath": "C:\\Users\\callm\\source\\repos\\24Hour.Service\\WebApplication1\\WebApplication1.csproj", + "expectedPackageFiles": [ + "C:\\Users\\callm\\.nuget\\packages\\microsoft.extensions.apidescription.server\\3.0.0\\microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\swashbuckle.aspnetcore\\6.0.0\\swashbuckle.aspnetcore.6.0.0.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.0.0\\swashbuckle.aspnetcore.swagger.6.0.0.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.0.0\\swashbuckle.aspnetcore.swaggergen.6.0.0.nupkg.sha512", + "C:\\Users\\callm\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.0.0\\swashbuckle.aspnetcore.swaggerui.6.0.0.nupkg.sha512" + ], + "logs": [ + { + "code": "NU1803", + "level": "Warning", + "warningLevel": 1, + "message": "姝e湪閫氳繃 鈥淗TTP鈥 婧愨渉ttp://47.108.27.176:14520/v3/index.json鈥濊繍琛屸渞estore鈥濇搷浣溿傚皢鏉ョ殑鐗堟湰涓皢鍒犻櫎闈 HTTPS 璁块棶鏉冮檺銆傝鑰冭檻杩佺Щ鍒 鈥淗TTPS鈥 婧愩" + } + ] +} \ No newline at end of file