Browse Source

图片旋转

master
胡超1 1 year ago
parent
commit
cff44adf44
  1. 4
      CPF_Cef/Common/Utils.cs
  2. 2
      CPF_Cef/MainModel.cs

4
CPF_Cef/Common/Utils.cs

@ -119,8 +119,8 @@ namespace AksWebBrowser.Common
//删除图片 //删除图片
Task.Run(() => Task.Run(() =>
{ {
File.Delete(Imgpath); //File.Delete(Imgpath);
File.Delete(outImgpath); //File.Delete(outImgpath);
}); });
return _base64; return _base64;
} }

2
CPF_Cef/MainModel.cs

@ -53,7 +53,7 @@ namespace AKS.EnterpriseLibrary.WebBrowser
{ {
//返回内容 //返回内容
string result = string.Empty; string result = string.Empty;
//content = Base64str2(content); content = Base64str2(content);
// Log.Info("收到请求:" + socket.ConnectionInfo.ClientIpAddress + " 请求参数:" + content); // Log.Info("收到请求:" + socket.ConnectionInfo.ClientIpAddress + " 请求参数:" + content);
if (!string.IsNullOrEmpty(content)) if (!string.IsNullOrEmpty(content))
{ {

Loading…
Cancel
Save