增加项目,分层

This commit is contained in:
chfei committed 2026-09-11 19:11:12 +08:00
1 parent 6e995a5bdb
commit 0a3e5af6a9
234 files changed
+26994 -1

No files matched your search

+68
View File
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace Store.Client.Apis
{
///// <summary>
///// 服务器
///// </summary>
//public class ServerHttpBase : ITransientDependency
//{
// /// <summary>
// /// 日志
// /// </summary>
// [Autowired]
// protected ILog _log { get; set; }
// /// <summary>
// /// 服务器配置
// /// </summary>
// [Autowired]
// protected IServerConfig _config { get; set; }
// public ServerHttpBase()
// {
// }
// /// <summary>
// /// 服务器请求
// /// </summary>
// /// <param name="item"></param>
// /// <returns></returns>
// public HttpResult ServerRequest(HttpItem item)
// {
// if (!item.URL.StartsWith("http"))
// {
// item.URL += _config.Host + item.URL;
// }
// item.Encoding = Encoding.UTF8;
// // ////item
// //#if PROXY
// // item.ProxyIp = "127.0.0.1:8080";
// //#endif
// HttpHelper http = new HttpHelper();
// HttpResult result = http.GetHtml(item);
// if (result.StatusCode == HttpStatusCode.OK)
// {
// if (!string.IsNullOrEmpty(result.Html))
// {
// if (result.Html[0] == 65279)
// {
// result.Html = result.Html.Remove(0, 1);
// }
// }
// }
// else
// {
// }
// return result;
// }
//}
}