![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具类
mu_sang
人不中二枉少年
展开
-
简单的Session工具类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Web;namespace Company.Common.Utils{ public class SessionHelper { /// <summary> /// 设置Session原创 2020-12-30 11:10:43 · 142 阅读 · 0 评论 -
简单的文件上传工具类
/// <summary> /// 上传附件 /// </summary> /// <param name="organizationService">CRM组织服务</param> /// <param name="entityname">实体名称</param> /// <param name="entityid">实体ID&...原创 2020-12-30 11:06:31 · 165 阅读 · 0 评论 -
简单的日志记录工具类
/// <summary> /// 日志记录方法 /// </summary> /// <param name="info">具体的日志信息</param> public void WriteLog(string info) { byte[] myByte = System.Text.Encoding.UTF8.GetBytes("记录时间:...原创 2020-12-30 11:00:01 · 119 阅读 · 0 评论 -
简单的json工具类
/// <summary> /// 获取Json字符串某节点的值 /// </summary> public static string GetJsonValue(string jsonStr, string key) { string result = string.Empty; if (!string.IsNullOrEmpty(jsonStr)) ...原创 2020-12-30 10:56:04 · 86 阅读 · 0 评论 -
简单http请求工具类
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Threading.Tasks;namespace Company.Common.Utils{ public static class HttpUtils { public static string Ge原创 2020-12-30 10:40:30 · 126 阅读 · 0 评论 -
简单的加密解密工具类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography;using System.IO;namespace Company.Common.Utils{ public class EasyEncript { /// <summary> /// 密匙原创 2020-12-30 10:30:11 · 338 阅读 · 0 评论